mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds lily to flake
This commit is contained in:
parent
68c1a1f808
commit
1d91a363df
1 changed files with 105 additions and 66 deletions
67
flake.nix
67
flake.nix
|
|
@ -32,7 +32,14 @@
|
||||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, catppuccin, agenix, ...} @ inputs:
|
outputs =
|
||||||
|
{
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
catppuccin,
|
||||||
|
agenix,
|
||||||
|
...
|
||||||
|
}@inputs:
|
||||||
let
|
let
|
||||||
overlays = import ./overlays/default.nix;
|
overlays = import ./overlays/default.nix;
|
||||||
username = "liv";
|
username = "liv";
|
||||||
|
|
@ -47,10 +54,13 @@
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
desktop = nixpkgs.lib.nixosSystem {
|
desktop = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [(
|
modules = [
|
||||||
import ./hosts/desktop
|
(import ./hosts/desktop)
|
||||||
)];
|
];
|
||||||
specialArgs = { host="desktop"; inherit self inputs username ; };
|
specialArgs = {
|
||||||
|
host = "desktop";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
sakura = nixpkgs.lib.nixosSystem {
|
sakura = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -58,7 +68,10 @@
|
||||||
(import ./hosts/sakura)
|
(import ./hosts/sakura)
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = { host="sakura"; inherit self inputs username ; };
|
specialArgs = {
|
||||||
|
host = "sakura";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
yoshino = nixpkgs.lib.nixosSystem {
|
yoshino = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -66,7 +79,10 @@
|
||||||
(import ./hosts/yoshino)
|
(import ./hosts/yoshino)
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = { host="yoshino"; inherit self inputs username ; };
|
specialArgs = {
|
||||||
|
host = "yoshino";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
ichiyo = nixpkgs.lib.nixosSystem {
|
ichiyo = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -74,7 +90,10 @@
|
||||||
(import ./hosts/ichiyo)
|
(import ./hosts/ichiyo)
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = { host="ichiyo"; inherit self inputs username ; };
|
specialArgs = {
|
||||||
|
host = "ichiyo";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
violet = nixpkgs.lib.nixosSystem {
|
violet = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -82,7 +101,10 @@
|
||||||
(import ./hosts/violet)
|
(import ./hosts/violet)
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = { host="violet"; inherit self inputs username; };
|
specialArgs = {
|
||||||
|
host = "violet";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
dandelion = nixpkgs.lib.nixosSystem {
|
dandelion = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -90,15 +112,32 @@
|
||||||
(import ./hosts/dandelion)
|
(import ./hosts/dandelion)
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = { host="dandelion"; inherit self inputs username; };
|
specialArgs = {
|
||||||
|
host = "dandelion";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
lily = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/lily)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "lily";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vm = nixpkgs.lib.nixosSystem {
|
vm = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [(
|
modules = [
|
||||||
import ./hosts/vm
|
(import ./hosts/vm)
|
||||||
)];
|
];
|
||||||
specialArgs = { host="vm"; inherit self inputs username ; };
|
specialArgs = {
|
||||||
|
host = "vm";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue