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
|
||||
## crikey !
|
||||
time.timeZone = "Australia/Brisbane";
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
|
||||
|
|
@ -41,6 +42,19 @@
|
|||
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)
|
||||
## see: https://github.com/NixOS/nixpkgs/issues/180175
|
||||
systemd.services = {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
{
|
||||
|
||||
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
## find a better home for these please <3
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
|
|
@ -30,16 +32,8 @@
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
nix.settings = {
|
||||
cores = 0;
|
||||
auto-optimise-store = true;
|
||||
allowed-users = [ "@wheel" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
nixpkgs = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue