test
This commit is contained in:
parent
408e63c21c
commit
d227bd741c
1 changed files with 8 additions and 4 deletions
12
flake.nix
12
flake.nix
|
@ -19,12 +19,15 @@
|
|||
# Nix User Repository
|
||||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
# Hardware support
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
# Encrypted secrets in Nix configuration files
|
||||
# https://github.com/Mic92/sops-nix
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
};
|
||||
|
||||
outputs = { stable-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, nur, sops-nix, ... }@inputs:
|
||||
outputs = { stable-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, nur, sops-nix, nixos-hardware, ... }@inputs:
|
||||
let
|
||||
# Variables - Remember to set these
|
||||
hostname = "nixos-laptop";
|
||||
|
@ -58,9 +61,10 @@
|
|||
./configuration.nix # Common NixOS Configuration
|
||||
|
||||
# Flake Imports
|
||||
sops-nix.nixosModules.sops # Handle secrets
|
||||
lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
|
||||
nur.nixosModules.nur # NixOS User Repository
|
||||
sops-nix.nixosModules.sops # Handle secrets
|
||||
lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
|
||||
nur.nixosModules.nur # NixOS User Repository
|
||||
nixos-hardware.nixosModules.lenovo-thinkpad-p1 # Thinkpad P1 hardware configuration
|
||||
|
||||
# Home Manager settings
|
||||
home-manager.nixosModules.home-manager {
|
||||
|
|
Loading…
Reference in a new issue