flake update

This commit is contained in:
Xory 2026-01-04 00:26:00 +02:00
parent e209e98b4b
commit 37d83dd90f
6 changed files with 38 additions and 12 deletions

View file

@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable/";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/";
disko.url = "github:nix-community/disko";
@ -16,7 +17,7 @@
};
outputs =
{ self, nixpkgs, home-manager, impermanence, disko, ... } @ inputs:
{ self, nixpkgs, nixpkgs-stable, home-manager, impermanence, disko, ... } @ inputs:
let
system = "x86_64-linux";
username = "xory";
@ -26,7 +27,13 @@
mkNixosHost = hostName:
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
specialArgs = {
inherit inputs;
pkgs-stable = import nixpkgs-stable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
modules = [
{ nixpkgs.overlays = [ opentrack-overlay ]; }