2024-08-30 17:38:37 +00:00
|
|
|
{
|
|
|
|
description = "A very basic flake";
|
|
|
|
|
|
|
|
nixConfig = {
|
|
|
|
extra-substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://hyprland.cachix.org/"
|
|
|
|
];
|
|
|
|
extra-trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
];
|
|
|
|
|
|
|
|
auto-optimise-store = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
|
|
|
|
|
|
ags.url = "github:Aylur/ags/05e0f23534fa30c1db2a142664ee8f71e38db260";
|
|
|
|
|
2024-08-30 22:10:17 +00:00
|
|
|
spicetify-nix = {
|
|
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-08-30 17:38:37 +00:00
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, chaotic, home-manager, ... }@inputs:
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
nyx = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
./hosts/nyx/configuration.nix
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
chaotic.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|