This commit is contained in:
iFargle 2023-07-11 20:37:30 +09:00
parent 408e63c21c
commit d227bd741c

View file

@ -19,12 +19,15 @@
# Nix User Repository # Nix User Repository
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
# Hardware support
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# Encrypted secrets in Nix configuration files # Encrypted secrets in Nix configuration files
# https://github.com/Mic92/sops-nix # https://github.com/Mic92/sops-nix
sops-nix.url = "github: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 let
# Variables - Remember to set these # Variables - Remember to set these
hostname = "nixos-laptop"; hostname = "nixos-laptop";
@ -61,6 +64,7 @@
sops-nix.nixosModules.sops # Handle secrets sops-nix.nixosModules.sops # Handle secrets
lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
nur.nixosModules.nur # NixOS User Repository nur.nixosModules.nur # NixOS User Repository
nixos-hardware.nixosModules.lenovo-thinkpad-p1 # Thinkpad P1 hardware configuration
# Home Manager settings # Home Manager settings
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {