mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +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
171
flake.nix
171
flake.nix
|
|
@ -9,7 +9,7 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -32,74 +32,113 @@
|
||||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, catppuccin, agenix, ...} @ inputs:
|
outputs =
|
||||||
let
|
{
|
||||||
overlays = import ./overlays/default.nix;
|
self,
|
||||||
username = "liv";
|
nixpkgs,
|
||||||
system = "x86_64-linux";
|
catppuccin,
|
||||||
pkgs = import nixpkgs {
|
agenix,
|
||||||
inherit system;
|
...
|
||||||
};
|
}@inputs:
|
||||||
lib = nixpkgs.lib;
|
let
|
||||||
in
|
overlays = import ./overlays/default.nix;
|
||||||
{
|
username = "liv";
|
||||||
overlays.default = overlays.addition;
|
system = "x86_64-linux";
|
||||||
nixosConfigurations = {
|
pkgs = import nixpkgs {
|
||||||
desktop = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [(
|
|
||||||
import ./hosts/desktop
|
|
||||||
)];
|
|
||||||
specialArgs = { host="desktop"; inherit self inputs username ; };
|
|
||||||
};
|
|
||||||
sakura = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
(import ./hosts/sakura)
|
|
||||||
agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
specialArgs = { host="sakura"; inherit self inputs username ; };
|
|
||||||
};
|
|
||||||
yoshino = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
(import ./hosts/yoshino)
|
|
||||||
agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
specialArgs = { host="yoshino"; inherit self inputs username ; };
|
|
||||||
};
|
|
||||||
ichiyo = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
(import ./hosts/ichiyo)
|
|
||||||
agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
specialArgs = { host="ichiyo"; inherit self inputs username ; };
|
|
||||||
};
|
|
||||||
violet = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
(import ./hosts/violet)
|
|
||||||
agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
specialArgs = { host="violet"; inherit self inputs username; };
|
|
||||||
};
|
|
||||||
dandelion = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [
|
|
||||||
(import ./hosts/dandelion)
|
|
||||||
agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
specialArgs = { host="dandelion"; inherit self inputs username; };
|
|
||||||
};
|
};
|
||||||
|
lib = nixpkgs.lib;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
overlays.default = overlays.addition;
|
||||||
|
nixosConfigurations = {
|
||||||
|
desktop = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/desktop)
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "desktop";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
sakura = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/sakura)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "sakura";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
yoshino = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/yoshino)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "yoshino";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
ichiyo = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/ichiyo)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "ichiyo";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
violet = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/violet)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
specialArgs = {
|
||||||
|
host = "violet";
|
||||||
|
inherit self inputs username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
dandelion = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
(import ./hosts/dandelion)
|
||||||
|
agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
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