Port iogamasters hyprland config

This commit is contained in:
2024-06-15 12:17:52 +02:00
parent c97f22254a
commit a9d0e298b3
53 changed files with 986 additions and 154 deletions

View File

@ -1,18 +0,0 @@
{
# This is the merged library containing your namespaced library as well as all libraries from
# your flake's inputs.
lib,
# Your flake inputs are also available.
inputs,
# Additionally, Snowfall Lib's own inputs are passed. You probably don't need to use this!
snowfall-inputs, }: {
# This will be available as `lib.my-namespace.my-helper-function`.
my-helper-function = x: x;
my-scope = {
# This will be available as `lib.my-namespace.my-scope.my-scoped-helper-function`.
my-scoped-helper-function = x: x;
};
}

15
lib/module/default.nix Normal file
View File

@ -0,0 +1,15 @@
{ lib, ... }:
with lib;
rec {
mkOpt =
type: default: description:
mkOption { inherit type default description; };
mkOpt' = type: default: mkOpt type default null;
mkBoolOpt = mkOpt types.bool;
mkBoolOpt' = mkOpt' types.bool;
mkEnableOpt = mkBoolOpt' false;
}