mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
update nixdev
This commit is contained in:
parent
c8884e4509
commit
9a62b57f02
1 changed files with 9 additions and 9 deletions
|
@ -13,6 +13,8 @@
|
|||
users.users.root.passwordFile = "/nix/persist/shadow_sean";
|
||||
users.users.sean.passwordFile = "/nix/persist/shadow_sean";
|
||||
|
||||
environment.variables.GTK_THEME = "Adwaita-dark";
|
||||
|
||||
environment.etc =
|
||||
lib.genAttrs
|
||||
[
|
||||
|
@ -22,19 +24,17 @@
|
|||
]
|
||||
(name: { source = "/nix/persist/etc/${name}"; });
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
mirroredBoots = [{
|
||||
path = "/nix/persist/boot";
|
||||
devices = [ "/dev/sda" ];
|
||||
}];
|
||||
};
|
||||
|
||||
fileSystems =
|
||||
{
|
||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; options = [ "discard" "noatime" ]; };
|
||||
"/nix" = { device = "/dev/disk/by-partlabel/_nix"; fsType = "ext4"; options = [ "discard" "noatime" ]; };
|
||||
"/home" = { device = "/nix/persist/home"; noCheck = true; options = [ "bind" ]; };
|
||||
"/var/log" = { device = "/nix/persist/var/log"; noCheck = true; options = [ "bind" ]; };
|
||||
"/nix" = { device = "/dev/sda1"; fsType = "ext4"; options = [ "noatime" ]; };
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue