mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
Rename module gc to auto-gc
This commit is contained in:
parent
8de1770dba
commit
8e949b0361
6 changed files with 7 additions and 7 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gc.enable = true;
|
auto-gc.enable = true;
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
nebula.enable = true;
|
nebula.enable = true;
|
||||||
sshd.enable = true;
|
sshd.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
resolved.enable = true;
|
resolved.enable = true;
|
||||||
gc.enable = true;
|
auto-gc.enable = true;
|
||||||
wlan.enable = true;
|
wlan.enable = true;
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gc = {
|
auto-gc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onlyCleanRoots = true;
|
onlyCleanRoots = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gc = {
|
auto-gc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onlyCleanRoots = true;
|
onlyCleanRoots = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gc = {
|
auto-gc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onlyCleanRoots = true;
|
onlyCleanRoots = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.custom.services.gc;
|
cfg = config.custom.services.auto-gc;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.custom.services.gc = {
|
options.custom.services.auto-gc = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
onlyCleanRoots = lib.mkEnableOption "";
|
onlyCleanRoots = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue