mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
refactor: split "real" modules and "config" modules
This commit is contained in:
parent
045f15239a
commit
cceae6c63c
60 changed files with 126 additions and 113 deletions
32
config/dev/default.nix
Normal file
32
config/dev/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
minimal,
|
||||
...
|
||||
}:
|
||||
lib.optionalAttrs (!minimal) {
|
||||
imports = [
|
||||
./documentation.nix
|
||||
./embedded.nix
|
||||
./yubikey.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [pkgs.man-pages pkgs.man-pages-posix];
|
||||
environment.enableDebugInfo = true;
|
||||
|
||||
# Add the agenix-rekey sandbox path permanently to avoid adding myself to trusted-users
|
||||
nix.settings.extra-sandbox-paths = ["/var/tmp/agenix-rekey"];
|
||||
|
||||
environment.persistence."/state".directories = [
|
||||
{
|
||||
directory = "/var/tmp/agenix-rekey";
|
||||
mode = "1777";
|
||||
}
|
||||
{
|
||||
directory = "/var/tmp/nix-import-encrypted"; # Decrypted repo-secrets can be kept
|
||||
mode = "1777";
|
||||
}
|
||||
];
|
||||
|
||||
services.nixseparatedebuginfod.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue