Updated flake

This commit is contained in:
EsVagy42 2026-02-25 16:59:19 +01:00
parent 5416062c2b
commit 04357ec34a
4 changed files with 37 additions and 9 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs-old.url = "github:nixos/nixpkgs/0182a361324364ae3f436a63005877674cf45efb";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -22,6 +23,7 @@
{
self,
nixpkgs,
nixpkgs-old,
home-manager,
plasma-manager,
nixvim,
@ -50,17 +52,25 @@
};
}
];
specialArgs = {
pkgs-old = import nixpkgs-old {
inherit system;
config.allowUnfree = false;
};
};
in
{
nixosConfigurations = {
nixos = lib.nixosSystem {
inherit system;
inherit specialArgs;
modules = baseModules ++ [
./devices/default/default.nix
];
};
live = lib.nixosSystem {
inherit system;
inherit specialArgs;
modules = baseModules ++ [
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
{