Fix on system flake
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.shell.devenv;
|
||||
in
|
||||
{
|
||||
options.os.shell.devenv = {
|
||||
enable = mkEnableOption "System devenv service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
devenv
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.shell.nh;
|
||||
in
|
||||
{
|
||||
options.os.shell.nh = {
|
||||
enable = mkEnableOption "System nh service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 2d --keep 3";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user