You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
800 B
30 lines
800 B
/**
|
|
* A custom nixos module to configure i3.
|
|
*
|
|
* This nixos module provides a simple API
|
|
* 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, ... } @ args:
|
|
|
|
let cfg = config.libkookie.ui.i3;
|
|
in
|
|
with lib;
|
|
{
|
|
options.libkookie.ui.i3 = {
|
|
enable = mkEnableOption "i3 + xfce4 display manager";
|
|
|
|
videoDrivers = with lib; mkOption {
|
|
type = with types; listOf str;
|
|
default = [];
|
|
description = ''
|
|
The set of video drivers to instantiate on a given system.
|
|
This setting is passed through to the X11 configuration.
|
|
'';
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable (import ./core args);
|
|
}
|
|
|