️ (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 = [
./audio.nix
./boot.nix
# ./disko.nix
./disko.nix
./docker.nix
./fonts.nix
./hardware.nix
./i18n.nix
# ./impermanence.nix
./impermanence.nix
# ./lanzaboot.nix
./networking.nix
./nix.nix
./partitions.nix
./security.nix
./users.nix
];

View file

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

View file

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

View file

@ -1,5 +1,5 @@
{...}: {
environment.persistence."/persistent" = {
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/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
inputs.catppuccin.nixosModules.catppuccin
inputs.home-manager.nixosModules.home-manager
# inputs.disko.nixosModules.default
# inputs.lanzaboote.nixosModules.lanzaboote
# inputs.impermanence.nixosModules.impermanence
inputs.disko.nixosModules.default
inputs.impermanence.nixosModules.impermanence
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
# inputs.lanzaboote.nixosModules.lanzaboote
{inherit home-manager;}
];
};