This commit is contained in:
Dmitriy Holkin 2020-02-15 03:32:20 +04:00
commit 660e550a9b
5 changed files with 14 additions and 7 deletions

View File

@ -14,27 +14,27 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/43364c66-885f-4fc3-8138-95bd2d0d8d36"; { device = "/dev/disk/by-uuid/04f26dc1-0e58-495b-827e-0daba3a54808";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@nixos" ]; options = [ "subvol=@nixos" ];
}; };
boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/c9a08672-55fd-42d7-8903-c6ea06462c49"; boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/11a75979-beaa-4113-b2e0-bb342a3e8863";
fileSystems."/.snapshots" = fileSystems."/.snapshots" =
{ device = "/dev/disk/by-uuid/43364c66-885f-4fc3-8138-95bd2d0d8d36"; { device = "/dev/disk/by-uuid/04f26dc1-0e58-495b-827e-0daba3a54808";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@snapshots" ]; options = [ "subvol=@snapshots" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/43364c66-885f-4fc3-8138-95bd2d0d8d36"; { device = "/dev/disk/by-uuid/04f26dc1-0e58-495b-827e-0daba3a54808";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@home" ]; options = [ "subvol=@home" ];
}; };
fileSystems."/nix/store" = fileSystems."/nix/store" =
{ device = "/dev/disk/by-uuid/43364c66-885f-4fc3-8138-95bd2d0d8d36"; { device = "/dev/disk/by-uuid/04f26dc1-0e58-495b-827e-0daba3a54808";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@nix-store" ]; options = [ "subvol=@nix-store" ];
}; };

Binary file not shown.

View File

@ -67,7 +67,7 @@ in {
nixPath = [ nixPath = [
"nixpkgs=${imports.nixpkgs}" "nixpkgs=${imports.nixpkgs}"
"nixos-config=/etc/nixos/configuration.nix" "nixos-config=/etc/nixos/configuration.nix"
# "/nix/var/nix/profiles/per-user/root/channels" "/nix/var/nix/profiles/per-user/root/channels"
]; ];
}; };
} }

View File

@ -5,6 +5,11 @@ in {
services.acpid.enable = true; services.acpid.enable = true;
services.btrfs.autoScrub = {
enable = true;
interval = "weekly";
};
services.redshift = { services.redshift = {
enable = true; enable = true;
temperature.day = 5500; temperature.day = 5500;

View File

@ -26,6 +26,8 @@ in {
}; };
fonts = [ "RobotoMono 9" ]; fonts = [ "RobotoMono 9" ];
bars = [ ];
# colors = rec { # colors = rec {
# background = thm.bg; # background = thm.bg;
# unfocused = { # unfocused = {