moving secrets to nixos module

This commit is contained in:
Anish L 2022-04-21 13:17:15 +10:00
parent 033d564c44
commit 20a75c90df
3 changed files with 12 additions and 6 deletions

View file

@ -117,9 +117,8 @@
cube = [ base ];
# home-manager = [ users.profiles.firefox users.profiles.desktop users.profiles.nvim ];
graphical = [ base bluetooth music sync wireguard wifi desktop ];
# secrets = [ secrets ];
curve = [ graphical ];
work = [ base home-manager ];
curve = [ graphical secrets ];
work = [ base ];
};
};
};
@ -133,6 +132,7 @@
suites = with profiles; rec {
hmBase = [ direnv git nvim ];
gui = [ hmBase firefox desktop email cal ];
work = [ hmBase firefox ];
};
};
users = {

View file

@ -0,0 +1,9 @@
{ pkgs, config, lib, ... }:
{
# Secrets used by home-manager modules
age.secrets.fastmail.file = "/etc/nixos/secrets/fastmail.age";
age.secrets.fastmail.owner = "anish";
age.secrets.mossnet.file = "/etc/nixos/secrets/mossnet.age";
age.secrets.mossnet.owner = "anish";
}

View file

@ -1,9 +1,6 @@
{ pkgs, config, age, ... }:
{
#age.secrets.mossnet.file = "/etc/nixos/secrets/mossnet.age";
#age.secrets.mossnet.owner = "anish";
home.packages = with pkgs; [
khal
khard