Files
nixos-config/flake.nix

96 lines
2.2 KiB
Nix
Raw Normal View History

2025-09-13 02:38:36 -04:00
{
description = "System Configuration Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-12-21 00:36:01 -05:00
agenix-rekey = {
url = "github:oddlama/agenix-rekey";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-09-13 02:38:36 -04:00
nvf = {
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
2025-11-01 23:05:23 -04:00
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
mango.url = "github:DreamMaoMao/mango?rev=1271832e947d3d4af27b36f687edd2f2e535f051";
2025-11-01 23:05:23 -04:00
hyprland.url = "github:hyprwm/Hyprland";
2025-11-01 23:05:23 -04:00
silentSDDM = {
url = "github:uiriansan/SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-11-09 14:34:44 -05:00
hyprdynamicmonitors.url = "github:fiffeek/hyprdynamicmonitors";
2025-11-16 01:17:54 -05:00
elephant = {
url = "github:abenz1267/elephant";
inputs.nixpkgs.follows = "nixpkgs";
};
walker = {
url = "github:abenz1267/walker";
inputs.elephant.follows = "elephant";
};
2025-09-13 02:38:36 -04:00
};
2025-10-19 01:55:37 -04:00
outputs =
2025-12-21 00:36:01 -05:00
{
self,
nixpkgs,
agenix-rekey,
...
}@inputs:
2025-10-19 01:55:37 -04:00
{
2025-10-28 23:56:35 -04:00
nixosConfigurations.vanta = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
host = "vanta";
2025-12-15 23:44:33 -05:00
wallpaper = "twilight-village.png";
2025-12-21 00:36:01 -05:00
# Host public SSH key (e.g. /etc/ssh/ssh_host_ed25519_key.pub).
hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaDVBJdMDFL8r9NQCbaLe+DPHGhGzRv2N7+7m1/U8DP";
2025-10-28 23:56:35 -04:00
};
2025-10-19 01:55:37 -04:00
modules = [
./modules/system
2025-10-28 23:56:35 -04:00
./hosts/vanta
2025-10-19 01:55:37 -04:00
];
};
2025-12-21 00:36:01 -05:00
agenix-rekey = agenix-rekey.configure {
userFlake = self;
nixosConfigurations = self.nixosConfigurations;
};
2025-10-19 01:55:37 -04:00
};
2025-09-13 02:38:36 -04:00
}