2023-11-05 11:40:44 +01:00
|
|
|
{
|
2024-07-15 13:44:54 +02:00
|
|
|
description = "liv's NixOS configuration";
|
2023-11-05 17:56:55 +01:00
|
|
|
|
2023-11-05 11:40:44 +01:00
|
|
|
inputs = {
|
2024-11-27 11:23:41 +01:00
|
|
|
agenix.url = "github:ryantm/agenix";
|
2023-11-05 11:40:44 +01:00
|
|
|
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
2024-11-27 11:23:41 +01:00
|
|
|
catppuccin.url = "github:catppuccin/nix";
|
2024-10-17 11:12:37 +02:00
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2025-05-16 01:35:44 +02:00
|
|
|
|
2023-11-05 11:40:44 +01:00
|
|
|
hyprland = {
|
2024-06-21 16:32:11 +02:00
|
|
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
2023-11-05 11:40:44 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-10-17 11:12:37 +02:00
|
|
|
hypr-contrib.url = "github:hyprwm/contrib";
|
|
|
|
|
hyprpicker.url = "github:hyprwm/hyprpicker";
|
2024-12-13 16:32:51 +01:00
|
|
|
hyprsunset.url = "github:hyprwm/hyprsunset";
|
2024-10-11 20:28:08 +02:00
|
|
|
Hyprspace = {
|
|
|
|
|
url = "github:KZDKM/Hyprspace";
|
|
|
|
|
inputs.hyprland.follows = "hyprland"; # Hyprspace uses latest Hyprland. We declare this to keep them in sync.
|
|
|
|
|
};
|
2024-11-27 11:23:41 +01:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
|
|
|
|
nixvim.url = "github:ahwxorg/nixvim-config";
|
|
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
2023-11-05 11:40:44 +01:00
|
|
|
};
|
|
|
|
|
|
2025-05-16 01:35:44 +02:00
|
|
|
outputs =
|
|
|
|
|
{
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
catppuccin,
|
|
|
|
|
agenix,
|
|
|
|
|
...
|
|
|
|
|
}@inputs:
|
|
|
|
|
let
|
|
|
|
|
overlays = import ./overlays/default.nix;
|
|
|
|
|
username = "liv";
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = import nixpkgs {
|
2024-07-15 07:44:16 +02:00
|
|
|
inherit system;
|
2025-03-20 14:32:30 +01:00
|
|
|
};
|
2025-05-16 01:35:44 +02:00
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-07-15 07:44:16 +02:00
|
|
|
|
2025-05-16 01:35:44 +02:00
|
|
|
vm = nixpkgs.lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
modules = [
|
|
|
|
|
(import ./hosts/vm)
|
|
|
|
|
];
|
|
|
|
|
specialArgs = {
|
|
|
|
|
host = "vm";
|
|
|
|
|
inherit self inputs username;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-05-19 18:28:51 +02:00
|
|
|
};
|
2023-11-05 11:40:44 +01:00
|
|
|
};
|
|
|
|
|
}
|