Files
nixos-config/flake.nix

84 lines
1.8 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";
};
2025-11-01 23:05:23 -04:00
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
noctalia = {
url = "github:noctalia-dev/noctalia-shell";
2025-11-01 23:05:23 -04:00
inputs.nixpkgs.follows = "nixpkgs";
};
2025-11-09 14:34:44 -05:00
niri = {
url = "github:sodiboo/niri-flake";
2025-11-16 01:17:54 -05:00
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
# IMPORTANT: To ensure compatibility with the latest Firefox version, use nixpkgs-unstable.
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
2025-11-16 01:17:54 -05:00
};
nix-jmu-cs345.url = "github:Eclypsed/nix-jmu-cs345";
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; };
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
}