pinned nixpkgs version

This commit is contained in:
CDaut 2024-10-06 12:37:29 +02:00
parent 0f572a9f85
commit a266ab201f
Signed by: clara
GPG key ID: 223391B52FAD4463
2 changed files with 8 additions and 2 deletions

View file

@ -6,6 +6,8 @@
"flakes" "flakes"
]; ];
nix.registry.nixpkgs.flake = inputs.nixpkgs;
# Bootloader. # Bootloader.
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;

View file

@ -19,7 +19,9 @@
}; };
laptop-x11 = nixpkgs.lib.nixosSystem { laptop-x11 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = let inputs.x11mode = true; in { inherit inputs; }; specialArgs = {
inputs = inputs // { x11mode = true; };
};
modules = [ modules = [
./configuration.nix ./configuration.nix
./hardware_configuration.nix ./hardware_configuration.nix
@ -28,7 +30,9 @@
}; };
laptop-wayland = nixpkgs.lib.nixosSystem { laptop-wayland = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = let inputs.x11mode = false; in { inherit inputs; }; specialArgs = {
inputs = inputs // { x11mode = false; };
};
modules = [ modules = [
./configuration.nix ./configuration.nix
./hardware_configuration.nix ./hardware_configuration.nix