From 9e89a97d16d5cc697c3f1d9b2572609d9755c133 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 10 Nov 2025 23:32:21 +0100 Subject: test --- flake.nix | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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; + }; + }; + }; +} -- cgit v1.3