nixos-config/flake.nix

231 lines
6.4 KiB
Nix
Raw Normal View History

2023-11-05 11:40:44 +01:00
{
description = "liv's Nix configuration";
2023-11-05 17:56:55 +01:00
2023-11-05 11:40:44 +01:00
inputs = {
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
home-manager.url = "github:nix-community/home-manager/release-25.11";
2025-07-27 21:09:16 +02:00
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
2025-07-27 21:09:16 +02:00
hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
hyprland-plugins.inputs.hyprland.follows = "hyprland";
2024-10-17 11:12:37 +02:00
hypr-contrib.url = "github:hyprwm/contrib";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
2024-11-27 11:23:41 +01:00
nur.url = "github:nix-community/NUR";
nixos-hardware.url = "github:nixos/nixos-hardware";
nixvim.url = "github:ahwxorg/nixvim-config";
2025-07-27 21:09:16 +02:00
sops-nix.url = "github:Mic92/sops-nix";
2025-07-30 16:33:15 +02:00
disko.url = "github:nix-community/disko/latest";
2025-10-23 00:16:21 +02:00
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
2025-11-21 11:39:25 +01:00
oisd.url = "https://big.oisd.nl/domainswild";
oisd.flake = false;
nixocaine.url = "https://git.madhouse-project.org/iocaine/nixocaine/archive/stable.tar.gz";
ai-robots-txt.url = "github:ai-robots-txt/ai.robots.txt";
ai-robots-txt.flake = false;
2026-02-05 16:27:25 +01:00
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
2026-02-13 13:00:13 +01:00
skhd-zig.url = "github:sebb3/skhd-zig.nix";
2026-02-26 00:30:09 +01:00
iamb.url = "github:ulyssa/iamb/latest";
homebrew-core = {
url = "github:homebrew/homebrew-core";
flake = false;
};
homebrew-cask = {
url = "github:homebrew/homebrew-cask";
flake = false;
};
2023-11-05 11:40:44 +01:00
};
2025-05-16 01:35:44 +02:00
outputs =
{
self,
nixpkgs,
nix-darwin,
2025-05-16 01:35:44 +02:00
...
}@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-05-16 01:35:44 +02:00
lib = nixpkgs.lib;
in
{
overlays.default = overlays.addition;
darwinConfigurations = {
2026-02-05 16:27:25 +01:00
"azalea" = nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [
(import ./hosts/azalea)
];
2026-02-05 16:27:25 +01:00
specialArgs = {
host = "sakura";
system = "aarch64-darwin";
2026-02-05 16:27:25 +01:00
inherit self inputs username;
};
};
};
2025-05-16 01:35:44 +02:00
nixosConfigurations = {
sakura = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/sakura)
];
specialArgs = {
host = "sakura";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
yoshino = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/yoshino)
];
specialArgs = {
host = "yoshino";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
ichiyo = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/ichiyo)
];
specialArgs = {
host = "ichiyo";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
violet = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/violet)
];
specialArgs = {
host = "violet";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
dandelion = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/dandelion)
];
specialArgs = {
host = "dandelion";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
lily = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/lily)
];
specialArgs = {
host = "lily";
system = "x86_64-linux";
2025-05-16 01:35:44 +02:00
inherit self inputs username;
};
};
2025-07-26 23:35:29 +02:00
zinnia = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/zinnia)
];
specialArgs = {
host = "zinnia";
system = "x86_64-linux";
2025-07-26 23:35:29 +02:00
inherit self inputs username;
};
};
2025-07-28 16:04:11 +02:00
posy = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
(import ./hosts/posy)
];
specialArgs = {
host = "posy";
system = "aarch64-linux";
2025-07-28 16:04:11 +02:00
inherit self inputs username;
};
};
2025-07-30 16:33:15 +02:00
hazel = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/hazel)
];
specialArgs = {
host = "hazel";
system = "x86_64-linux";
2025-07-30 16:33:15 +02:00
inherit self inputs username;
};
};
2025-08-02 01:17:19 +02:00
daisy = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/daisy)
];
specialArgs = {
host = "daisy";
system = "x86_64-linux";
2025-08-02 01:17:19 +02:00
inherit self inputs username;
};
};
2025-09-05 18:44:50 +02:00
iris = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/iris)
];
specialArgs = {
host = "iris";
system = "x86_64-linux";
2025-09-05 18:44:50 +02:00
inherit self inputs username;
};
};
2025-10-20 12:14:46 +02:00
sunflower = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/sunflower)
];
specialArgs = {
host = "sunflower";
system = "x86_64-linux";
2025-10-20 12:14:46 +02:00
inherit self inputs username;
};
};
2025-10-26 01:05:28 +02:00
imilia = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/imilia)
];
specialArgs = {
host = "imilia";
system = "x86_64-linux";
2025-10-26 01:05:28 +02:00
inherit self inputs username;
};
};
2025-12-28 02:04:31 +01:00
april = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(import ./hosts/april)
];
specialArgs = {
host = "april";
system = "x86_64-linux";
2025-12-28 02:04:31 +01:00
inherit self inputs username;
};
};
2024-05-19 18:28:51 +02:00
};
2023-11-05 11:40:44 +01:00
};
}