moving secrets to nixos module
This commit is contained in:
parent
033d564c44
commit
20a75c90df
|
@ -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 = {
|
||||
|
|
9
profiles/secrets/default.nix
Normal file
9
profiles/secrets/default.nix
Normal 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";
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue