summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-11-10 23:32:21 +0100
committeradikro <adikro@disroot.org>2025-11-10 23:32:21 +0100
commit9e89a97d16d5cc697c3f1d9b2572609d9755c133 (patch)
treeda5dea76be486ab4514b3e20bf09c07144e087fe /flake.nix
test
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix74
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;
+ };
+ };
+ };
+}