mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
fix: darwin - nix-access-token
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
myvars,
|
||||
nuenv,
|
||||
@@ -115,4 +116,8 @@
|
||||
];
|
||||
builders-use-substitutes = true;
|
||||
};
|
||||
|
||||
nix.extraOptions = ''
|
||||
!include ${config.age.secrets.nix-access-tokens.path}
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nix.extraOptions = ''
|
||||
!include ${config.age.secrets.nix-access-tokens.path}
|
||||
'';
|
||||
|
||||
# security with polkit
|
||||
security.polkit.enable = true;
|
||||
# security with gnome-kering
|
||||
|
||||
@@ -71,7 +71,8 @@
|
||||
{
|
||||
file = "${mysecrets}/nix-access-tokens.age";
|
||||
}
|
||||
// high_security;
|
||||
# access-token needs to be readable by the user running the `nix` command
|
||||
// user_readable;
|
||||
|
||||
# ---------------------------------------------
|
||||
# user can read this file.
|
||||
|
||||
Reference in New Issue
Block a user