fatass commit for the rice
This commit is contained in:
parent
266d1b3deb
commit
89ac1c676d
28 changed files with 1101 additions and 587 deletions
29
modules/nixos/system/colors.nix
Normal file
29
modules/nixos/system/colors.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
mkVar =
|
||||
color:
|
||||
lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = color;
|
||||
};
|
||||
in {
|
||||
options.custom.colors = {
|
||||
base00 = mkVar "#17031A";
|
||||
base01 = mkVar "#392551";
|
||||
base02 = mkVar "#5A496E";
|
||||
base03 = mkVar "#7B6D8B";
|
||||
base04 = mkVar "#9C92A8";
|
||||
base05 = mkVar "#BDB6C5";
|
||||
base06 = mkVar "#DEDAE2";
|
||||
base07 = mkVar "#FEFFFF";
|
||||
base08 = mkVar "#27D9D5";
|
||||
base09 = mkVar "#5BA2B6";
|
||||
base0A = mkVar "#8F6C97";
|
||||
base0B = mkVar "#C33678";
|
||||
base0C = mkVar "#F80059";
|
||||
base0D = mkVar "#BD0152";
|
||||
base0E = mkVar "#82034C";
|
||||
base0F = mkVar "#470546";
|
||||
};
|
||||
}
|
||||
27
modules/nixos/system/console-colors.nix
Normal file
27
modules/nixos/system/console-colors.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
console.colors =
|
||||
let
|
||||
toRgb = color: lib.removePrefix "#" color;
|
||||
|
||||
colors = config.custom.colors;
|
||||
in [
|
||||
(toRgb colors.base00)
|
||||
(toRgb colors.base08)
|
||||
(toRgb colors.base0C)
|
||||
"b58900"
|
||||
"268bd2"
|
||||
"d33682"
|
||||
"2aa198"
|
||||
(toRgb colors.base05)
|
||||
(toRgb colors.base0D)
|
||||
(toRgb colors.base08)
|
||||
(toRgb colors.base0C)
|
||||
"657b83"
|
||||
"839496"
|
||||
"6c71c4"
|
||||
"93a1a1"
|
||||
(toRgb colors.base07)
|
||||
];
|
||||
}
|
||||
|
|
@ -2,11 +2,15 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./colors.nix
|
||||
./console-colors.nix
|
||||
./desktop.nix
|
||||
./fonts.nix
|
||||
./home-manager.nix
|
||||
./laptop.nix
|
||||
./scx.nix
|
||||
./swap.nix
|
||||
./yubikey.nix
|
||||
./zswap.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -8,11 +8,9 @@
|
|||
useUserPackages = true;
|
||||
backupFileExtension = "bak";
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users.wo2w = {
|
||||
home = {
|
||||
username = "wo2w";
|
||||
homeDirectory = "/home/wo2w";
|
||||
};
|
||||
users.wo2w.home = {
|
||||
username = "wo2w";
|
||||
homeDirectory = "/home/wo2w";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue