this repo has no description

hm: fix submodule usage

awwpotato b7186eee 23f5e0d4

+62 -13
+46
flake.lock
··· 36 "type": "github" 37 } 38 }, 39 "root": { 40 "inputs": { 41 "flake-parts": "flake-parts", 42 "nixpkgs": "nixpkgs", 43 "systems": "systems" 44 } 45 }, ··· 55 "original": { 56 "owner": "nix-systems", 57 "repo": "default", 58 "type": "github" 59 } 60 }
··· 36 "type": "github" 37 } 38 }, 39 + "nur": { 40 + "inputs": { 41 + "flake-parts": [ 42 + "flake-parts" 43 + ], 44 + "nixpkgs": [ 45 + "nixpkgs" 46 + ], 47 + "treefmt-nix": "treefmt-nix" 48 + }, 49 + "locked": { 50 + "lastModified": 1751678757, 51 + "narHash": "sha256-d5Fp3D+O0GIOaaMJpGpzm/X0Has3OG6rztvrAcYT640=", 52 + "owner": "nix-community", 53 + "repo": "nur", 54 + "rev": "7b75ea6aa9078148f6c4bae251fa5f4fa542d836", 55 + "type": "github" 56 + }, 57 + "original": { 58 + "owner": "nix-community", 59 + "repo": "nur", 60 + "type": "github" 61 + } 62 + }, 63 "root": { 64 "inputs": { 65 "flake-parts": "flake-parts", 66 "nixpkgs": "nixpkgs", 67 + "nur": "nur", 68 "systems": "systems" 69 } 70 }, ··· 80 "original": { 81 "owner": "nix-systems", 82 "repo": "default", 83 + "type": "github" 84 + } 85 + }, 86 + "treefmt-nix": { 87 + "inputs": { 88 + "nixpkgs": [ 89 + "nur", 90 + "nixpkgs" 91 + ] 92 + }, 93 + "locked": { 94 + "lastModified": 1733222881, 95 + "narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=", 96 + "owner": "numtide", 97 + "repo": "treefmt-nix", 98 + "rev": "49717b5af6f80172275d47a418c9719a31a78b53", 99 + "type": "github" 100 + }, 101 + "original": { 102 + "owner": "numtide", 103 + "repo": "treefmt-nix", 104 "type": "github" 105 } 106 }
+1
flake.nix
··· 23 outputs = 24 inputs: 25 inputs.flake-parts.lib.mkFlake { inherit inputs; } { 26 systems = import inputs.systems; 27 28 perSystem =
··· 23 outputs = 24 inputs: 25 inputs.flake-parts.lib.mkFlake { inherit inputs; } { 26 + debug = true; 27 systems = import inputs.systems; 28 29 perSystem =
+15 -13
homeModule.nix
··· 28 profiles = lib.mkOption { 29 type = lib.types.attrsOf ( 30 lib.types.submodule { 31 - chrome.enable = mkDisableOption "installing the chrome directory"; 32 - prefs.enable = mkDisableOption "enabling user.js prefs"; 33 - tweaks = lib.mkOption { 34 - description = "tweaks with the `uc.tweak.` sufix removed"; 35 - type = with lib.types; attrsOf (pkgs.formats.json { }).type; 36 - default = { }; 37 - example = { 38 - translucency = true; 39 - no-window-controls = true; 40 }; 41 - }; 42 - extensions = { 43 - enable = lib.mkEnableOption "installing userchrome-toggle-extended and sidebery"; 44 - userchrome-toggle.configure = lib.mkEnableOption "applying userchrome-toggle-extended settings"; 45 }; 46 } 47 );
··· 28 profiles = lib.mkOption { 29 type = lib.types.attrsOf ( 30 lib.types.submodule { 31 + options = { 32 + chrome.enable = mkDisableOption "installing the chrome directory"; 33 + prefs.enable = mkDisableOption "enabling user.js prefs"; 34 + tweaks = lib.mkOption { 35 + description = "tweaks with the `uc.tweak.` sufix removed"; 36 + type = with lib.types; attrsOf (pkgs.formats.json { }).type; 37 + default = { }; 38 + example = { 39 + translucency = true; 40 + no-window-controls = true; 41 + }; 42 }; 43 + extensions = { 44 + enable = lib.mkEnableOption "installing userchrome-toggle-extended and sidebery"; 45 + userchrome-toggle.configure = lib.mkEnableOption "applying userchrome-toggle-extended settings"; 46 + }; 47 }; 48 } 49 );