feat: add sops-nix input
This commit is contained in:
parent
5c153d3b08
commit
01092ee7ef
4 changed files with 68 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, stateVersion, hostname, username, hostConfig, ... }:
|
||||
{ inputs, pkgs, lib, stateVersion, hostname, username, hostConfig, config, ... }:
|
||||
{
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
../hosts/${hostname}/hardware-configuration.nix
|
||||
|
@ -43,6 +43,12 @@
|
|||
inherit hostConfig;
|
||||
inherit hostname;
|
||||
};
|
||||
|
||||
# NixOS system-wide home-manager configuration
|
||||
sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
users.${username} = {
|
||||
home.stateVersion = stateVersion;
|
||||
programs.home-manager.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue