diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-09-20 07:47:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 07:47:22 +0200 |
commit | 98bc102f5bec14b38c684c219989fc3953dc2f49 (patch) | |
tree | 832e6425caf7d7130d436cbc22f51a130ba59f3a /flake.nix | |
parent | d72c3aba80f1828bac3021d37d195c337ddc907f (diff) | |
parent | 97da8892b9fcb285f7023a671090b4a3becdf2d8 (diff) | |
download | PrismLauncher-98bc102f5bec14b38c684c219989fc3953dc2f49.tar.gz PrismLauncher-98bc102f5bec14b38c684c219989fc3953dc2f49.tar.bz2 PrismLauncher-98bc102f5bec14b38c684c219989fc3953dc2f49.zip |
Merge pull request #1618 from getchoo/cool-nix-stuff
filter source in flake & add controller support
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -4,6 +4,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-parts.url = "github:hercules-ci/flake-parts"; + nix-filter.url = "github:numtide/nix-filter"; pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -20,12 +21,14 @@ }; }; - outputs = inputs: - inputs.flake-parts.lib.mkFlake - {inherit inputs;} - { + outputs = { + flake-parts, + pre-commit-hooks, + ... + } @ inputs: + flake-parts.lib.mkFlake {inherit inputs;} { imports = [ - inputs.pre-commit-hooks.flakeModule + pre-commit-hooks.flakeModule ./nix/dev.nix ./nix/distribution.nix |