refactor(nix)!: move nix module to programs

nixos
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";
my = {
nix = {
gc.enable = true;
optimise.enable = true;
};
bin.enable = true;
shell = {
abbreviations = {
@ -63,6 +59,10 @@ in
git.enable = true;
gpg.enable = true;
navi.enable = true;
nix = {
gc.enable = true;
optimise.enable = true;
};
tmux.enable = true;
tmux.keybinds = {
prefix = {

View File

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