diff options
Diffstat (limited to 'infra/libkookie/modules/workstation/ui/i3/#default.nix#')
-rw-r--r-- | infra/libkookie/modules/workstation/ui/i3/#default.nix# | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/infra/libkookie/modules/workstation/ui/i3/#default.nix# b/infra/libkookie/modules/workstation/ui/i3/#default.nix# deleted file mode 100644 index 36bd6dcb530c..000000000000 --- a/infra/libkookie/modules/workstation/ui/i3/#default.nix# +++ /dev/null @@ -1,59 +0,0 @@ -/** - * A custom module to configure i3. Provides a simple interface to - * set a wallpaper and certain keybinding overrides. - * - * The special thing about this configuration is the way workspaces - * are handled. Instead of numerical workspaces, this configuration - * sets up scripts to manage named workspaces - */ - -{ config, lib, pkgs, home-manager, ... }: - -let - cfg = config.libkookie.ui.i3; - libkookie = config.libkookie; -in -with lib; -{ - options.libkookie.ui.i3 = { - enable = mkEnableOption "i3 + xfce display manager"; - - wallpaper = mkOption { - type = types.path; - description = '' - Specify the wallpaper to set. Default to the default - NixOS login screen wallpaper. - ''; - }; - - compton = mkEnableOption "windown composition with compton"; - - screenshotHandling = mkOption { - type = types.bool; - default = false; - description = '' - Install the gnome-screenshot tool and create a binding to it. - ''; - }; - - modifier = mkOption { - type = types.string; - default = "Mod4"; - description = '' - The modifier key used by i3. - By default this is Meta (Mod4). - To see which modifier keys you can use alternatively, - check the i3 documentation. - ''; - }; - }; - - config = mkIf cfg.enable { - home-manager.users = listToAttrs - (map (user: lib.nameValuePair "${user}" ({ ... }: { - imports = [ - ./core.nix - ]; - })) config.libkookie.activeUsers); - }; -} |