Compare commits
No commits in common. "13c97347f85d558cf84cb1bd41b623ac31d65f7e" and "9e982505a6041a4b8338b2a438da059f9af5757c" have entirely different histories.
13c97347f8
...
9e982505a6
|
@ -1,19 +1,14 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let
|
||||
getModules = path:
|
||||
let
|
||||
dirEntries = builtins.removeAttrs (builtins.readDir path) [ "default.nix" ];
|
||||
dirEntries = builtins.removeAttrs (builtins.readDir ./.) [ "default.nix" ];
|
||||
moduleEntries = lib.attrsets.filterAttrs (n: v: v == "regular") dirEntries;
|
||||
moduleNames = builtins.attrNames moduleEntries;
|
||||
|
||||
|
||||
modulePaths = builtins.map (name: path + /${name}) moduleNames;
|
||||
in
|
||||
modulePaths;
|
||||
modulePaths = builtins.map (name: ./${name}) moduleNames;
|
||||
in
|
||||
{
|
||||
imports = getModules ./.;
|
||||
imports = modulePaths;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.snowhawk.tldr;
|
||||
in
|
||||
{
|
||||
options.snowhawk.tldr = {
|
||||
enable = lib.mkEnableOption "tldr";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.tealdeer = {
|
||||
enable = true;
|
||||
settings = {
|
||||
updates.auto_update = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -24,7 +24,6 @@ in
|
|||
redshift.enable = true;
|
||||
xivlauncher.enable = true;
|
||||
flameshot.enable = true;
|
||||
tldr.enable = true;
|
||||
};
|
||||
snowhawk.ssh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue