update hw config, add additional mount options, and add Git to Drone
This commit is contained in:
parent
33b5fcbfe4
commit
6b81b6daa1
2 changed files with 34 additions and 11 deletions
|
|
@ -11,17 +11,35 @@
|
|||
|
||||
../../modules/nixos/bash.nix
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
"/".options = [ "compress=zstd" ];
|
||||
"/home".options = [ "compress=zstd" ];
|
||||
"/nix".options = [ "compress=zstd" "noatime" ];
|
||||
"/swap".options = [ "noatime" ];
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
device = "/swap/swapfile";
|
||||
size = 8*1024;
|
||||
swapDevices = [{
|
||||
device = "/swap/swapfile";
|
||||
size = 8192;
|
||||
}];
|
||||
|
||||
networking.hostName = "${hostName}";
|
||||
|
||||
environment.defaultPackages = lib.mkForce [];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
user = {
|
||||
name = "wo2wz";
|
||||
email = "189177184+wo2wz@users.noreply.github.com";
|
||||
};
|
||||
safe.directory = "/etc/nixos";
|
||||
};
|
||||
};
|
||||
|
||||
services.scx.scheduler = lib.mkForce "scx_rusty";
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue