diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 67 |
1 files changed, 44 insertions, 23 deletions
@@ -1,18 +1,43 @@ { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - master.url = "github:nixos/nixpkgs/master"; - stable.url = "github:nixos/nixpkgs/nixos-22.11"; - unstable.url = "github:nixos/nixpkgs/nixos-unstable"; - home-manager.url = "github:nix-community/home-manager"; - spicetify-nix.url = "github:the-argus/spicetify-nix"; nur.url = "github:nix-community/NUR"; - nixpkgs-f2k.url = "github:moni-dz/nixpkgs-f2k"; - nix-gaming.url = "github:fufexan/nix-gaming"; - systems.url = "github:nix-systems/default-linux"; - nix-thorium.url = "github:almahdi/nix-thorium"; - nix-alien.url = "github:thiagokokada/nix-alien"; - pre-commit-hooks.url = "github:cachix/git-hooks.nix"; + systems.url = "github:nix-systems/default"; + + spicetify-nix = { + url = "github:the-argus/spicetify-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nix-gaming = { + url = "github:fufexan/nix-gaming"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nix-thorium = { + url = "github:almahdi/nix-thorium"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nix-alien = { + url = "github:thiagokokada/nix-alien"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + pre-commit-hooks = { + url = "github:cachix/git-hooks.nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + hyprland = { + url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; nix-index-database = { url = "github:nix-community/nix-index-database"; @@ -24,21 +49,15 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland = { - type = "git"; - url = "https://github.com/hyprwm/Hyprland"; - submodules = true; - }; - hyprland-plugins = { url = "github:hyprwm/hyprland-plugins"; inputs.hyprland.follows = "hyprland"; }; - Hyprspace = { - url = "github:KZDKM/Hyprspace"; - inputs.hyprland.follows = "hyprland"; - }; + # Hyprspace = { + # url = "github:KZDKM/Hyprspace"; + # inputs.hyprland.follows = "hyprland"; + # }; }; outputs = @@ -49,6 +68,8 @@ systems, nix-index-database, pia, + nur, + pre-commit-hooks, ... }@inputs: let @@ -71,7 +92,7 @@ }); checks = forAllSystems (system: { - pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run { + pre-commit-check = pre-commit-hooks.lib.${system}.run { src = ./.; hooks = { @@ -99,6 +120,7 @@ home-manager.nixosModule pia.nixosModule nix-index-database.nixosModules.nix-index + nur.nixosModules.nur ./hosts/kansai ]; }; @@ -112,7 +134,6 @@ inputs outputs self - system secrets ; }; |