summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-05-13 00:01:14 +0200
committeradikro <adikro@disroot.org>2026-05-13 00:01:14 +0200
commit31c293d72740180ca1272c76e96a1c6c87b9e195 (patch)
treefc1fbebbb1ead9175b613a6f1725e1654cebb164 /flake.nix
parent1b67275b854235fa1f8c8fc68fff1beae9515a0f (diff)
i forgot
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 8 insertions, 5 deletions
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";