Compare commits

...

5 commits

7 changed files with 35 additions and 6 deletions

View file

@ -358,6 +358,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1727658919,
"narHash": "sha256-YAePt2GldkkRJ08LvZNHcuS6shIVStj+K+1DZN3gbnM=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "f9fdf8285690a351e8998f1e703ebdf9cdf51dee",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-anywhere": { "nixos-anywhere": {
"inputs": { "inputs": {
"disko": "disko_2", "disko": "disko_2",
@ -711,6 +731,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nix-index-database": "nix-index-database",
"nixos-anywhere": "nixos-anywhere", "nixos-anywhere": "nixos-anywhere",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",

View file

@ -41,7 +41,6 @@
}; };
lanzaboote = { lanzaboote = {
url = "github:nix-community/lanzaboote"; url = "github:nix-community/lanzaboote";
# inputs.nixpkgs.follows = "nixpkgs"; # leads to many recompilations
}; };
nixos-hardware = { nixos-hardware = {
url = "github:NixOS/nixos-hardware"; url = "github:NixOS/nixos-hardware";
@ -49,6 +48,10 @@
impermanence = { impermanence = {
url = "github:nix-community/impermanence"; url = "github:nix-community/impermanence";
}; };
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
# home stuff # home stuff
wallpaper = { wallpaper = {

View file

@ -3,6 +3,7 @@
imports = [ imports = [
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
inputs.nix-index-database.hmModules.nix-index
./applications ./applications
./desktop ./desktop

View file

@ -8,9 +8,6 @@
boot.supportedFilesystems = ["ntfs"]; boot.supportedFilesystems = ["ntfs"];
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# TODO: replace by lanzaboot
boot.loader.systemd-boot.enable = true;
# clean /tmp at each boot # clean /tmp at each boot
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;

View file

@ -16,7 +16,7 @@
./hardware.nix ./hardware.nix
./i18n.nix ./i18n.nix
./impermanence.nix ./impermanence.nix
# ./lanzaboot.nix ./lanzaboot.nix
./networking.nix ./networking.nix
./nix.nix ./nix.nix
./security.nix ./security.nix

View file

@ -4,6 +4,7 @@
directories = [ directories = [
"/var/log" "/var/log"
"/var/lib/bluetooth" "/var/lib/bluetooth"
"/var/lib/fprint/"
"/var/lib/nixos" "/var/lib/nixos"
"/var/lib/systemd/coredump" "/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
@ -25,6 +26,12 @@
mode = "0700"; mode = "0700";
} }
]; ];
files = [
"/.local/state/bemoji-history.txt"
".local/share/bemoji/emojis.txt"
".cache/cliphist/db"
".cache/fuzzel"
];
}; };
}; };
} }

View file

@ -27,7 +27,7 @@ in {
inputs.disko.nixosModules.default inputs.disko.nixosModules.default
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 inputs.lanzaboote.nixosModules.lanzaboote
{inherit home-manager;} {inherit home-manager;}
]; ];
}; };