initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
36
modules/features/system/system-nix.nix
Normal file
36
modules/features/system/system-nix.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ ... }:
|
||||
{
|
||||
config.dendritic.features.system-nix = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ config, ... }:
|
||||
|
||||
let
|
||||
user = config.dendritic.current.primaryUser;
|
||||
in
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
auto-optimise-store = true;
|
||||
|
||||
download-buffer-size = 262144000;
|
||||
trusted-users = [ user ];
|
||||
warn-dirty = false;
|
||||
|
||||
accept-flake-config = true;
|
||||
};
|
||||
|
||||
services.fstrim.enable = true;
|
||||
|
||||
time.timeZone = "America/Toronto";
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue