This commit is contained in:
Peder Bergebakken Sundt 2024-10-09 16:59:03 +02:00
parent 55e781a7d1
commit 84fbfad9e9
4 changed files with 12 additions and 2 deletions

View File

@ -182,16 +182,17 @@
networking.hostName = hostname;
networking.domain = domain;
networking.search = [ domain ];
nixpkgs.overlays = [
self.overlays.pbsdspkgs
(final: prev: {
#unstable = unstable.legacyPackages.${final.system};
unstable = import inputs.unstable {
inherit system;
config = final.pkgs.config;
};
})
];
# This makes commandline tools like 'nix run nixpkgs#hello'
# and 'nix-shell -p hello' use the same channel as system was built with
nix.registry.nixpkgs.flake = inputs.nixpkgs;
@ -312,7 +313,7 @@
#pdoc3-docs = (pkgs.callPackage ./pkgs/pdocs.nix {}).pdocs3;
});
};
wl-clipboard-timeout = ./overlays/wl-clipboard-timeout.nix;
wl-clipboard-timeout = import ./overlays/wl-clipboard-timeout.nix;
default = self.overlays.pbsdspkgs;
};

View File

@ -56,6 +56,10 @@
networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
environment.systemPackages = [
pkgs.pbsds.v4l2-play
];
# Networking
/**/
networking.networkmanager.enable = true;

0
pkgs/v4l2-play/script.sh Normal file → Executable file
View File

View File

@ -38,6 +38,11 @@
else
alias clip="wl-copy --trim-newline --type text/plain";
fi
nix-prefetch-sri() {
url="$1"; shift
nix hash to-sri --type sha256 "$@" "$(nix-prefetch-url "$url")"
}
'';
home.packages = with pkgs; [