diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..35eab55 --- /dev/null +++ b/flake.nix @@ -0,0 +1,74 @@ +{ + description = "nixconfig"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05"; + + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + disko = { + url = "github:nix-community/disko/latest"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; + + hyprland.url = "github:hyprwm/Hyprland"; + + eww.url = "github:elkowar/eww"; + + awww.url = "git+https://codeberg.org/LGFae/awww"; + + stylix.url = "github:nix-community/stylix"; + + satty.url = "github:gabm/Satty"; + + nixvim.url = "github:nix-community/nixvim"; + + nvf.url = "github:NotAShelf/nvf"; + + neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; + + helix.url = "github:helix-editor/helix"; + + firefox.url = "github:nix-community/flake-firefox-nightly"; + + nixcord.url = "github:KaylorBen/nixcord"; + + spicetify-nix.url = "github:Gerg-L/spicetify-nix"; + }; + + outputs = inputs @{ + self, + nixpkgs, + home-manager, + disko, + chaotic, + hyprland, + stylix, + satty, + neovim-nightly-overlay, + nixcord, + nixvim, + helix, + ... + }: let + mkHost = { hostname, path }: + nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; + modules = [ path ]; + }; + in { + nixosConfigurations = { + szpont = mkHost { + hostname = "szpont"; + path = ./hosts/desktop/configuration.nix; + }; + }; + }; +} |
