mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove nixpkgs from server system builds
This commit is contained in:
parent
14368b639a
commit
0ff416af71
3 changed files with 11 additions and 6 deletions
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue