mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Rename gc module
This commit is contained in:
parent
23f28419b4
commit
e8c51558c4
3 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
virtualisation.enable = true;
|
virtualisation.enable = true;
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
garbageCollection.enable = true;
|
gc.enable = true;
|
||||||
geoclue.enable = true;
|
geoclue.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
virtualisation.enable = true;
|
virtualisation.enable = true;
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
garbageCollection.enable = true;
|
gc.enable = true;
|
||||||
geoclue.enable = true;
|
geoclue.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
options.myConfig.garbageCollection.enable = lib.mkEnableOption "";
|
options.myConfig.gc.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.myConfig.garbageCollection.enable {
|
config = lib.mkIf config.myConfig.gc.enable {
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean = {
|
clean = {
|
||||||
Loading…
Add table
Add a link
Reference in a new issue