moving secrets to nixos module
This commit is contained in:
parent
033d564c44
commit
20a75c90df
|
@ -117,9 +117,8 @@
|
||||||
cube = [ base ];
|
cube = [ base ];
|
||||||
# home-manager = [ users.profiles.firefox users.profiles.desktop users.profiles.nvim ];
|
# home-manager = [ users.profiles.firefox users.profiles.desktop users.profiles.nvim ];
|
||||||
graphical = [ base bluetooth music sync wireguard wifi desktop ];
|
graphical = [ base bluetooth music sync wireguard wifi desktop ];
|
||||||
# secrets = [ secrets ];
|
curve = [ graphical secrets ];
|
||||||
curve = [ graphical ];
|
work = [ base ];
|
||||||
work = [ base home-manager ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -133,6 +132,7 @@
|
||||||
suites = with profiles; rec {
|
suites = with profiles; rec {
|
||||||
hmBase = [ direnv git nvim ];
|
hmBase = [ direnv git nvim ];
|
||||||
gui = [ hmBase firefox desktop email cal ];
|
gui = [ hmBase firefox desktop email cal ];
|
||||||
|
work = [ hmBase firefox ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users = {
|
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, ... }:
|
{ pkgs, config, age, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
#age.secrets.mossnet.file = "/etc/nixos/secrets/mossnet.age";
|
|
||||||
#age.secrets.mossnet.owner = "anish";
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
khal
|
khal
|
||||||
khard
|
khard
|
||||||
|
|
Loading…
Reference in a new issue