Compare commits

..

5 commits

7 changed files with 35 additions and 6 deletions

View file

@ -358,6 +358,26 @@
"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": {
"inputs": {
"disko": "disko_2",
@ -711,6 +731,7 @@
"home-manager": "home-manager",
"impermanence": "impermanence",
"lanzaboote": "lanzaboote",
"nix-index-database": "nix-index-database",
"nixos-anywhere": "nixos-anywhere",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",

View file

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

View file

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

View file

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

View file

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

View file

@ -4,6 +4,7 @@
directories = [
"/var/log"
"/var/lib/bluetooth"
"/var/lib/fprint/"
"/var/lib/nixos"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
@ -25,6 +26,12 @@
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.impermanence.nixosModules.impermanence
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
# inputs.lanzaboote.nixosModules.lanzaboote
inputs.lanzaboote.nixosModules.lanzaboote
{inherit home-manager;}
];
};