diff options
| author | seth <[email protected]> | 2024-10-17 12:13:37 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-10-17 12:13:37 -0400 |
| commit | b5e262b160a132d4d7dafe5bf3bb20298b8afb11 (patch) | |
| tree | f60f3e01ad648ff51772d7e980ca738ce2c64b41 /flake.nix | |
| parent | ac8a610195ad7c086c4ed1e9da24b0485f72ec1e (diff) | |
home/riff: init module
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -24,6 +24,18 @@ forAllSystems = lib.genAttrs systems; forTier1Systems = lib.genAttrs tier1Systems; nixpkgsFor = nixpkgs.legacyPackages; + + mkModule = + { + name, + type, + imports, + }: + { + __file = "${self.outPath}/flake.nix#${type}Modules.${name}"; + inherit imports; + }; + in { checks = forTier1Systems ( @@ -53,6 +65,14 @@ pkgs' // { default = pkgs'.treefetch or pkgs.emptyFile; } ); + homeModules = { + riff = mkModule { + name = "riff"; + type = "home"; + imports = [ ./modules/home/riff.nix ]; + }; + }; + formatter = forTier1Systems (system: nixpkgsFor.${system}.nixfmt-rfc-style); templates = |
