add: system modules and options
This commit is contained in:
parent
9bfc70318d
commit
47eb3e0691
21 changed files with 269 additions and 158 deletions
|
|
@ -1,16 +1,23 @@
|
|||
{ inputs, ... }: {
|
||||
{ inputs, lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.systemModules.nixOptions;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.nh.nixosModules.default
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.variables.FLAKE = "/home/ooks/Coding/nix/ooks-io/nix";
|
||||
|
||||
environment.variables.FLAKE = "/home/ooks/Coding/nix/ooks-io/nix";
|
||||
|
||||
nh = {
|
||||
enable = true;
|
||||
clean = {
|
||||
nh = {
|
||||
enable = true;
|
||||
extraArgs = "--keep-since 30d";
|
||||
clean = {
|
||||
enable = true;
|
||||
extraArgs = "--keep-since 30d";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue