Compare commits
No commits in common. "a5b47bc75bc1f3fff4a69bdd35d04560cc989ab2" and "88c73558f4715810f5260ad914d74f433dfd1c5a" have entirely different histories.
a5b47bc75b
...
88c73558f4
5 changed files with 4 additions and 21 deletions
|
@ -35,7 +35,7 @@ in {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = nullOr (enum ["Catppuccin Mocha" "Zenburn" "Black Metal Venom" "Gruvbox"]);
|
type = nullOr (enum ["Catppuccin Mocha" "Zenburn" "Black Metal Venom" "Gruvbox"]);
|
||||||
description = "The colorscheme that should be used globally to theme your system.";
|
description = "The colorscheme that should be used globally to theme your system.";
|
||||||
default = "Gruvbox";
|
default = "Catppuccin Mocha";
|
||||||
};
|
};
|
||||||
|
|
||||||
slug = mkOption {
|
slug = mkOption {
|
||||||
|
|
|
@ -2,11 +2,6 @@ _: {
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
unmanaged = [
|
|
||||||
# DO NOT manage my docker containers, thank you.
|
|
||||||
"interface-name:docker*"
|
|
||||||
];
|
|
||||||
|
|
||||||
wifi = {
|
wifi = {
|
||||||
# Generate a randomized value upon each connect
|
# Generate a randomized value upon each connect
|
||||||
macAddress = "random";
|
macAddress = "random";
|
||||||
|
|
|
@ -47,10 +47,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gestures = {
|
|
||||||
workspace_swipe = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
gaps_in = 0;
|
gaps_in = 0;
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
inherits = "gruvbox";
|
|
||||||
"ui.background" = {};
|
|
||||||
}
|
|
|
@ -39,12 +39,8 @@
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe;
|
||||||
|
|
||||||
toml = formats.toml {};
|
toml = formats.toml {};
|
||||||
|
|
||||||
helix-languages = callPackage ./languages.nix {inherit lib;};
|
|
||||||
colorscheme = toml.generate "colorscheme.toml" (import ./colorscheme.nix);
|
|
||||||
|
|
||||||
helix-config = {
|
helix-config = {
|
||||||
theme = "theme_transparent";
|
theme = "catppuccin_mocha";
|
||||||
editor = {
|
editor = {
|
||||||
cursorline = false;
|
cursorline = false;
|
||||||
color-modes = true;
|
color-modes = true;
|
||||||
|
@ -111,6 +107,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
helix-languages = callPackage ./languages.nix {inherit lib;};
|
||||||
wrapped-helix = symlinkJoin {
|
wrapped-helix = symlinkJoin {
|
||||||
name = "helix-wrapped";
|
name = "helix-wrapped";
|
||||||
paths = [
|
paths = [
|
||||||
|
@ -143,10 +140,9 @@
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [makeWrapper];
|
nativeBuildInputs = [makeWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
mkdir -p $out/config/helix/themes
|
mkdir -p $out/config/helix
|
||||||
cp "${toml.generate "config.toml" helix-config}" $out/config/helix/config.toml
|
cp "${toml.generate "config.toml" helix-config}" $out/config/helix/config.toml
|
||||||
cp "${helix-languages}" $out/config/helix/languages.toml
|
cp "${helix-languages}" $out/config/helix/languages.toml
|
||||||
cp "${colorscheme}" $out/config/helix/themes/theme_transparent.toml
|
|
||||||
wrapProgram $out/bin/hx --set \
|
wrapProgram $out/bin/hx --set \
|
||||||
XDG_CONFIG_HOME $out/config
|
XDG_CONFIG_HOME $out/config
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue