moved allow unfree into user files
This commit is contained in:
parent
d11a24f337
commit
8f36a609db
7 changed files with 6 additions and 10 deletions
|
@ -11,6 +11,8 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
sops.secrets = lib.mkIf cfg.isFullUser {
|
||||
"passwords/ester" = {
|
||||
neededForUsers = true;
|
||||
|
|
|
@ -11,6 +11,8 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
sops.secrets = lib.mkIf cfg.isFullUser {
|
||||
"passwords/eve" = {
|
||||
neededForUsers = true;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.users.leyla;
|
||||
|
@ -17,6 +16,8 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
sops.secrets = lib.mkIf (cfg.isFullUser || cfg.isThinUser) {
|
||||
"passwords/leyla" = {
|
||||
neededForUsers = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue