refactor(nix)!: move nix module to programs

This commit is contained in:
Moritz Böhme 2023-05-07 13:59:01 +02:00
parent 3e9468d872
commit d143c48e9e
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
2 changed files with 6 additions and 6 deletions

View file

@ -32,10 +32,6 @@ in
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
my = { my = {
nix = {
gc.enable = true;
optimise.enable = true;
};
bin.enable = true; bin.enable = true;
shell = { shell = {
abbreviations = { abbreviations = {
@ -63,6 +59,10 @@ in
git.enable = true; git.enable = true;
gpg.enable = true; gpg.enable = true;
navi.enable = true; navi.enable = true;
nix = {
gc.enable = true;
optimise.enable = true;
};
tmux.enable = true; tmux.enable = true;
tmux.keybinds = { tmux.keybinds = {
prefix = { prefix = {

View file

@ -6,10 +6,10 @@
with lib; with lib;
let let
cfg = config.my.nix; cfg = config.my.programs.nix;
in in
{ {
options.my.nix = { options.my.programs.nix = {
gc = { gc = {
enable = mkEnableOption "nix-gc"; enable = mkEnableOption "nix-gc";
minimumFreedGB = mkOption { minimumFreedGB = mkOption {