remove nixpkgs from server system builds

This commit is contained in:
Sean Buckley 2022-01-05 16:59:52 -05:00
parent 14368b639a
commit 0ff416af71
3 changed files with 11 additions and 6 deletions

View file

@ -17,7 +17,12 @@
[ "x86_64-linux" "aarch64-linux" ]);
pins = {
nix.registry.nixpkgs.flake = nixpkgs;
nix.registry.nixpkgs.to = {
inherit (nixpkgs) rev;
owner = "NixOS";
repo = "nixpkgs";
type = "github";
};
nix.registry.bck.to = {
owner = "buckley310";
repo = "nixos-config";

View file

@ -37,8 +37,6 @@
whois
zip
(writeShellScriptBin "nr" "nix repl '${pkgs.path}'")
(writeShellScriptBin "dirt" "while sleep 1; do grep '^Dirty:' /proc/meminfo ; done")
(writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/")
@ -62,9 +60,6 @@
];
environment.etc.nixpkgs.source = pkgs.path;
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
programs.bcc.enable = true;
programs.htop = {

View file

@ -10,6 +10,9 @@ with lib;
fonts.fonts = [ pkgs.bck-nerdfont ];
environment.etc.nixpkgs.source = pkgs.path;
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
environment.systemPackages = with pkgs; [
brave
chromium
@ -27,6 +30,8 @@ with lib;
tdesktop
youtube-dl
(writeShellScriptBin "nr" "nix repl ${pkgs.path}")
(mpv-with-scripts.override { scripts = [ mpvScripts.mpris ]; })
(vscode-with-extensions.override {