Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

{ lib, inputs, nixpkgs, home-manager, user, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in
{
elnupad = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
./elnupad
./configuration.nix
./desktop.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
home-manager.users.${user} = {
imports = [
(import ./home.nix)
(import ./elnupad/home.nix)
];
};
}
];
};
virtualbox = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
./virtualbox
./configuration.nix
./desktop.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
home-manager.users.${user} = {
imports = [
(import ./home.nix)
(import ./virtualbox/home.nix)
];
};
}
];
};
}