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