Switch to lix and update the arr stack
This commit is contained in:
parent
e860e4a9bd
commit
34f11ee2fb
6 changed files with 249 additions and 148 deletions
|
|
@ -1,23 +1,39 @@
|
|||
{ nixpkgs
|
||||
, home-manager
|
||||
, nixos-hardware
|
||||
, agenix
|
||||
, ...
|
||||
{
|
||||
nixpkgs,
|
||||
nixos-hardware,
|
||||
agenix,
|
||||
home-manager,
|
||||
lix-module,
|
||||
...
|
||||
}:
|
||||
let
|
||||
agenixOverlay = final: prev: {
|
||||
agenix = agenix.packages.${prev.system}.default;
|
||||
agenixOverlay = final: prev: { agenix = agenix.packages.${prev.system}.default; };
|
||||
pkgs =
|
||||
system:
|
||||
import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ agenixOverlay ];
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
myModule = {
|
||||
imports = [
|
||||
lix-module.nixosModules.default
|
||||
../modules
|
||||
];
|
||||
};
|
||||
pkgs = system: import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ agenixOverlay ];
|
||||
config.allowUnfree = true;
|
||||
|
||||
proxmoxModule = {
|
||||
imports = [
|
||||
"${nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
|
||||
../modules/virtualisation/proxmox.nix
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
deadbeef = nixpkgs.lib.nixosSystem {
|
||||
pkgs = pkgs "x86_64-linux";
|
||||
modules = [
|
||||
myModule
|
||||
./deadbeef
|
||||
nixos-hardware.nixosModules.dell-xps-15-9560
|
||||
home-manager.nixosModules.home-manager
|
||||
|
|
@ -31,6 +47,8 @@ in
|
|||
arr = nixpkgs.lib.nixosSystem {
|
||||
pkgs = pkgs "x86_64-linux";
|
||||
modules = [
|
||||
myModule
|
||||
proxmoxModule
|
||||
./arr
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue