remove /etc/nixpkgs

This commit is contained in:
Sean Buckley 2022-02-18 11:50:16 -05:00
parent 0098774d8f
commit 7504a4d8f7
5 changed files with 3 additions and 6 deletions

View file

@ -46,7 +46,6 @@
nixosModule = {
imports = builtins.attrValues self.nixosModules;
nixpkgs.overlays = [
(_: _: { nixpkgs_src = toString nixpkgs; })
(_: mypkgs)
];
};

View file

@ -30,6 +30,7 @@
'';
nix = {
nixPath = [ ];
package = pkgs.nixFlakes;
daemonCPUSchedPolicy = "idle";
extraOptions = ''

View file

@ -94,6 +94,7 @@
alias hd='hexdump -C'
alias catc='${pkgs.vimpager-latest}/bin/vimpager --force-passthrough'
alias nix-env="echo nix-env is disabled #"
alias nix-index='nix-index -f="$(nix eval nixpkgs#path)"'
alias nix-what-depends-on='nix-store --query --referrers'
alias day='date "+%Y-%m-%d"'
'';

View file

@ -11,9 +11,6 @@ with lib;
fonts.fonts = [ pkgs.bck-nerdfont ];
environment.etc.nixpkgs.source = pkgs.nixpkgs_src;
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
environment.variables.MOZ_ENABLE_WAYLAND = "1";
environment.variables.MOZ_USE_XINPUT2 = "1";
@ -32,7 +29,7 @@ with lib;
tdesktop
youtube-dl
(writeShellScriptBin "nr" "exec nix repl ${pkgs.nixpkgs_src}")
(writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"")
(mpv-with-scripts.override { scripts = [ mpvScripts.mpris ]; })

View file

@ -5,7 +5,6 @@ with lib;
services.logind.lidSwitch = "ignore";
services.openssh.enable = true;
documentation.nixos.enable = false;
nix.nixPath = [ ];
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";