moved: nix.settings block from core/packages to core/configuration.nix
This commit is contained in:
parent
ca8fde8263
commit
990bbb51b7
2 changed files with 18 additions and 10 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
## locale is common across machines
|
## locale is common across machines
|
||||||
|
## crikey !
|
||||||
time.timeZone = "Australia/Brisbane";
|
time.timeZone = "Australia/Brisbane";
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
|
||||||
|
|
@ -41,6 +42,19 @@
|
||||||
sudo.execWheelOnly = true;
|
sudo.execWheelOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## settings for nix
|
||||||
|
nix.settings = {
|
||||||
|
## use all cores during build
|
||||||
|
cores = 0;
|
||||||
|
auto-optimise-store = true;
|
||||||
|
allowed-users = [ "@wheel" ];
|
||||||
|
## enable flakes uwu
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
## disable these cuz they cause problems (thx sasha)
|
## disable these cuz they cause problems (thx sasha)
|
||||||
## see: https://github.com/NixOS/nixpkgs/issues/180175
|
## see: https://github.com/NixOS/nixpkgs/issues/180175
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||||
|
|
||||||
## find a better home for these please <3
|
## find a better home for these please <3
|
||||||
fonts = {
|
fonts = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
@ -31,15 +33,7 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings = {
|
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||||
cores = 0;
|
|
||||||
auto-optimise-store = true;
|
|
||||||
allowed-users = [ "@wheel" ];
|
|
||||||
experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue