refactor(nix)!: move nix module to programs
parent
3e9468d872
commit
d143c48e9e
|
@ -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 = {
|
||||
|
|
|
@ -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 {
|
Loading…
Reference in New Issue