test to swap channels
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -2,6 +2,7 @@
|
||||
description = "JawZ NixOS flake setup";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
nixpkgs-small.url = "github:nixos/nixpkgs?ref=nixos-unstable-small";
|
||||
nixpkgs11.url = "github:nixos/nixpkgs?ref=nixos-24.11";
|
||||
ucodenix.url = "github:e-tho/ucodenix";
|
||||
doom-emacs.url = "github:marienz/nix-doom-emacs-unstraightened";
|
||||
@@ -50,9 +51,11 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = inputs.nixpkgs.lib // inputs.home-manager.lib;
|
||||
createConfig =
|
||||
name:
|
||||
name: local-nixpkgs:
|
||||
let
|
||||
lib = local-nixpkgs.lib // inputs.home-manager.lib;
|
||||
in
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
@@ -75,9 +78,9 @@
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
workstation = "workstation" |> createConfig;
|
||||
miniserver = "miniserver" |> createConfig;
|
||||
server = "server" |> createConfig;
|
||||
workstation = createConfig "workstation" inputs.nixpkgs;
|
||||
miniserver = createConfig "miniserver" inputs.nixpkgs-small;
|
||||
server = createConfig "server" inputs.nixpkgs-small;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user