From 31c293d72740180ca1272c76e96a1c6c87b9e195 Mon Sep 17 00:00:00 2001 From: adikro Date: Wed, 13 May 2026 00:01:14 +0200 Subject: i forgot --- flake.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6572bf7..f9a5a05 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11"; + nixpkgs-master.url = "github:nixos/nixpkgs/master"; # Hardware and gaming nixos-hardware.url = "github:NixOS/nixos-hardware/master"; @@ -103,16 +104,18 @@ self, nixpkgs, nixpkgs-stable, + nixpkgs-master, ... }@inputs: let unstablePkgs = import nixpkgs { }; stablePkgs = import nixpkgs-stable { system = "x86_64-linux"; - config = { - allowUnfree = true; - permittedInsecurePackages = [ "netbox-4.3.7" ]; - }; + config.allowUnfree = true; + }; + masterPkgs = import nixpkgs-master { + system = "x86_64-linux"; + config.allowUnfree = true; }; mkHost = { @@ -127,6 +130,7 @@ username = user; pkgs-unstable = unstablePkgs; pkgs-stable = stablePkgs; + pkgs-master = masterPkgs; }; modules = [ path @@ -140,7 +144,6 @@ hostname = "szpont"; path = ./hosts/desktop/configuration.nix; }; - laptop = mkHost { hostname = "laptop"; }; thinkpad = mkHost { hostname = "thinkpad"; }; pendrive = mkHost { hostname = "pendrive"; -- cgit v1.3