mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
get nixos-rebuild working again
This commit is contained in:
parent
131ba820ad
commit
8d74606039
2 changed files with 10 additions and 3 deletions
|
|
@ -144,7 +144,7 @@
|
||||||
!include ${config.sops.secrets.github_token.path}
|
!include ${config.sops.secrets.github_token.path}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
sops.secrets.github_token = { };
|
sops.secrets.github_token.owner = "gerg";
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
nix-output-monitor # nom nom nom nom;
|
nix-output-monitor # nom nom nom nom;
|
||||||
nix-tree # view packages
|
nix-tree # view packages
|
||||||
pciutils # lspci
|
pciutils # lspci
|
||||||
nixos-rebuild-ng
|
|
||||||
;
|
;
|
||||||
nix-janitor = pkgs.symlinkJoin {
|
nix-janitor = pkgs.symlinkJoin {
|
||||||
name = "nix-janitor";
|
name = "nix-janitor";
|
||||||
|
|
@ -25,6 +24,13 @@
|
||||||
--suffix PATH : ${lib.makeBinPath [ config.nix.package ]}
|
--suffix PATH : ${lib.makeBinPath [ config.nix.package ]}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
nixos-rebuild-ng = pkgs.symlinkJoin {
|
||||||
|
name = "nixos-rebuild-ng";
|
||||||
|
paths = [ pkgs.nixos-rebuild-ng ];
|
||||||
|
postBuild = ''
|
||||||
|
ln -s "$out/bin/nixos-rebuild-ng" "$out/bin/nixos-rebuild"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -32,7 +38,7 @@
|
||||||
# Mr sandro why
|
# Mr sandro why
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
programs.nano.enable = false;
|
programs.nano.enable = false;
|
||||||
programs.less.enable = false;
|
programs.less.enable = lib.mkForce false;
|
||||||
|
|
||||||
environment.defaultPackages = lib.mkForce [ ];
|
environment.defaultPackages = lib.mkForce [ ];
|
||||||
|
|
||||||
|
|
@ -74,6 +80,7 @@
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
system.disableInstallerTools = true;
|
system.disableInstallerTools = true;
|
||||||
|
|
||||||
services.userborn.enable = true;
|
services.userborn.enable = true;
|
||||||
boot.enableContainers = false;
|
boot.enableContainers = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue