️ (aurum) enable impermanence and disko (I reinstalled the machine)

This commit is contained in:
Laureηt 2024-10-05 18:47:19 +02:00
parent 71e9abc994
commit c456799baf
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk
6 changed files with 19 additions and 32 deletions

View file

@ -10,16 +10,15 @@
imports = [ imports = [
./audio.nix ./audio.nix
./boot.nix ./boot.nix
# ./disko.nix ./disko.nix
./docker.nix ./docker.nix
./fonts.nix ./fonts.nix
./hardware.nix ./hardware.nix
./i18n.nix ./i18n.nix
# ./impermanence.nix ./impermanence.nix
# ./lanzaboot.nix # ./lanzaboot.nix
./networking.nix ./networking.nix
./nix.nix ./nix.nix
./partitions.nix
./security.nix ./security.nix
./users.nix ./users.nix
]; ];

View file

@ -51,6 +51,7 @@
}; };
}; };
}; };
};
nodev = { nodev = {
"/" = { "/" = {
fsType = "tmpfs"; fsType = "tmpfs";
@ -62,5 +63,4 @@
}; };
}; };
}; };
};
} }

View file

@ -1,5 +1,5 @@
{...}: { {...}: {
# hardware # graphics
hardware.graphics.enable = true; hardware.graphics.enable = true;
# logind configuration # logind configuration
@ -20,6 +20,9 @@
# backlight intensity # backlight intensity
programs.light.enable = true; programs.light.enable = true;
# impermanence
fileSystems."/persist".requiredForBoot = true;
# webcam # webcam
# hardware.firmware = [ # hardware.firmware = [
# pkgs.ivsc-firmware # pkgs.ivsc-firmware

View file

@ -1,5 +1,5 @@
{...}: { {...}: {
environment.persistence."/persistent" = { environment.persistence."/persist" = {
hideMounts = true; hideMounts = true;
directories = [ directories = [
"/var/log" "/var/log"

View file

@ -1,15 +0,0 @@
{...}: {
fileSystems."/" =
{ device = "/dev/disk/by-uuid/288c6720-f583-4756-b74d-27eabf496d09";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/CBDD-1148";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ccdd234e-b58a-440b-b951-4fef68c3812c"; }
];
}

View file

@ -24,10 +24,10 @@ in {
./aurum ./aurum
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
# inputs.disko.nixosModules.default inputs.disko.nixosModules.default
# inputs.lanzaboote.nixosModules.lanzaboote inputs.impermanence.nixosModules.impermanence
# inputs.impermanence.nixosModules.impermanence
inputs.nixos-hardware.nixosModules.dell-xps-13-9315 inputs.nixos-hardware.nixosModules.dell-xps-13-9315
# inputs.lanzaboote.nixosModules.lanzaboote
{inherit home-manager;} {inherit home-manager;}
]; ];
}; };