tangled
alpha
login
or
join now
thevoid.cafe
/
puzzlevision
0
fork
atom
Non stop entertainment! The wackiest NixOS configuration to-date.
thevoid.cafe/projects/puzzlevision
nixos
flake
flake-parts
dotfiles
home-manager
nix
0
fork
atom
overview
issues
pulls
pipelines
🔥 Remove leftover lib methods and TODO
thevoid.cafe
7 months ago
616523f8
1eea028f
-18
1 changed file
expand all
collapse all
unified
split
lib
module
default.nix
-18
lib/module/default.nix
reviewed
···
1
1
{
2
2
lib,
3
3
-
self,
4
3
...
5
4
}:
6
5
{
···
16
15
inherit default description;
17
16
type = lib.types.bool;
18
17
};
19
19
-
20
20
-
# Create a module compliant with the NixOS module system.
21
21
-
mkModule =
22
22
-
{
23
23
-
name ? "puzzlevision",
24
24
-
class,
25
25
-
modules,
26
26
-
}:
27
27
-
{
28
28
-
_class = class;
29
29
-
# Template: "[path-to-flake]/flake.nix#[class-name]Modules.[module-name]"
30
30
-
# Example: "[path-to-flake]/flake.nix#nixosModules.system.audio"
31
31
-
_file = "${self.outPath}/flake.nix#${class}Modules.${name}";
32
32
-
imports = modules;
33
33
-
};
34
34
-
35
35
-
# TODO: add mkIfElse function
36
18
}