refactor(nix)!: move nix module to programs
This commit is contained in:
parent
3e9468d872
commit
d143c48e9e
2 changed files with 6 additions and 6 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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 {
|
Loading…
Reference in a new issue