mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove /etc/nixpkgs
This commit is contained in:
parent
0098774d8f
commit
7504a4d8f7
5 changed files with 3 additions and 6 deletions
|
@ -46,7 +46,6 @@
|
|||
nixosModule = {
|
||||
imports = builtins.attrValues self.nixosModules;
|
||||
nixpkgs.overlays = [
|
||||
(_: _: { nixpkgs_src = toString nixpkgs; })
|
||||
(_: mypkgs)
|
||||
];
|
||||
};
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
'';
|
||||
|
||||
nix = {
|
||||
nixPath = [ ];
|
||||
package = pkgs.nixFlakes;
|
||||
daemonCPUSchedPolicy = "idle";
|
||||
extraOptions = ''
|
||||
|
|
|
@ -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"'
|
||||
'';
|
||||
|
|
|
@ -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 ]; })
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue