mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
118 lines
3.2 KiB
Nix
118 lines
3.2 KiB
Nix
{
|
|
description = "liv's NixOS configuration";
|
|
|
|
inputs = {
|
|
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
|
hypr-contrib.url = "github:hyprwm/contrib";
|
|
hyprpicker.url = "github:hyprwm/hyprpicker";
|
|
hyprsunset.url = "github:hyprwm/hyprsunset";
|
|
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";
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
sops-nix,
|
|
...
|
|
}@inputs:
|
|
let
|
|
overlays = import ./overlays/default.nix;
|
|
username = "liv";
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
lib = nixpkgs.lib;
|
|
in
|
|
{
|
|
overlays.default = overlays.addition;
|
|
nixosConfigurations = {
|
|
sakura = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/sakura)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "sakura";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
yoshino = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/yoshino)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "yoshino";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
ichiyo = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/ichiyo)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "ichiyo";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
violet = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/violet)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "violet";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
dandelion = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/dandelion)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "dandelion";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
lily = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/lily)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "lily";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
zinnia = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(import ./hosts/zinnia)
|
|
# sops-nix.nixosModules.sops
|
|
];
|
|
specialArgs = {
|
|
host = "zinnia";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|