Devariable domains
This commit is contained in:
parent
2c4749f2cc
commit
984b12819e
55 changed files with 152 additions and 179 deletions
8
modules/home/variables/default.nix
Normal file
8
modules/home/variables/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./displays
|
||||
./look
|
||||
./workspaces
|
||||
];
|
||||
}
|
15
modules/home/variables/displays/default.nix
Normal file
15
modules/home/variables/displays/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.displays = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.displays = {
|
||||
d1 = "DP-1";
|
||||
d2 = "DP-2";
|
||||
d3 = "DP-3";
|
||||
d4 = "HDMI-A-1";
|
||||
dI = "eDP-1";
|
||||
};
|
||||
}
|
12
modules/home/variables/look/border/default.nix
Normal file
12
modules/home/variables/look/border/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.look.border = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.look.border = rec {
|
||||
int = 3;
|
||||
string = toString int;
|
||||
};
|
||||
}
|
20
modules/home/variables/look/colors/default.nix
Normal file
20
modules/home/variables/look/colors/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.look.colors = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.look.colors = {
|
||||
prime = "3823C4"; #3823C4
|
||||
accent = "1B1F59"; #1B1F59
|
||||
split = "555B9E"; #555B9E
|
||||
actSplit = "5980B7"; #5980B7
|
||||
dark = "101419"; #101419
|
||||
mid = "171C23"; #171C23
|
||||
light = "272b33"; #272B33
|
||||
urgent = "C43823"; #C43823
|
||||
text = "C7D3E3"; #C7D3E3
|
||||
folder = "indigo";
|
||||
};
|
||||
}
|
8
modules/home/variables/look/default.nix
Normal file
8
modules/home/variables/look/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./border
|
||||
./colors
|
||||
./fonts
|
||||
];
|
||||
}
|
12
modules/home/variables/look/fonts/default.nix
Normal file
12
modules/home/variables/look/fonts/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.look.fonts = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.look.fonts = {
|
||||
main = "Ubuntu";
|
||||
nerd = "UbuntuMono Nerd Font";
|
||||
};
|
||||
}
|
29
modules/home/variables/workspaces/default.nix
Normal file
29
modules/home/variables/workspaces/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.ws = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.ws = {
|
||||
w0 = "0";
|
||||
w1 = "1";
|
||||
w2 = "2";
|
||||
w3 = "3";
|
||||
w4 = "4";
|
||||
w5 = "5";
|
||||
w6 = "6";
|
||||
w7 = "7";
|
||||
w8 = "8";
|
||||
w9 = "9";
|
||||
w1a = "I";
|
||||
w2a = "II";
|
||||
w3a = "III";
|
||||
w4a = "IV";
|
||||
w5a = "V";
|
||||
w6a = "VI";
|
||||
w7a = "VII";
|
||||
w8a = "VIII";
|
||||
w9a = "IX";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue