cargo bin to path, bottom
This commit is contained in:
parent
4deb234893
commit
a71b42e0f6
6 changed files with 40 additions and 9 deletions
|
|
@ -4,6 +4,9 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
arduino-language-server
|
||||||
|
arduino-cli
|
||||||
|
tio
|
||||||
radicle-cli
|
radicle-cli
|
||||||
lua-language-server
|
lua-language-server
|
||||||
# freecad
|
# freecad
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
# slack
|
# slack
|
||||||
# tectonic
|
# tectonic
|
||||||
# texlab
|
# texlab
|
||||||
# tio
|
|
||||||
# toastify
|
# toastify
|
||||||
# virt-manager
|
# virt-manager
|
||||||
# wkhtmltopdf
|
# wkhtmltopdf
|
||||||
|
|
@ -21,6 +20,7 @@
|
||||||
aspell
|
aspell
|
||||||
aspellDicts.en
|
aspellDicts.en
|
||||||
bottles
|
bottles
|
||||||
|
boxxy
|
||||||
calibre
|
calibre
|
||||||
darktable
|
darktable
|
||||||
deluge
|
deluge
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,15 @@
|
||||||
cargoConfig = builtins.replaceStrings ["path/to/sccache"] ["${pkgs.sccache}/bin/sccache"] cargoFile;
|
cargoConfig = builtins.replaceStrings ["path/to/sccache"] ["${pkgs.sccache}/bin/sccache"] cargoFile;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
# ./boxxy.nix
|
||||||
(import ./helix.nix {inherit pkgs inputs;})
|
(import ./helix.nix {inherit pkgs inputs;})
|
||||||
# ./plasma.nix
|
# ./plasma.nix
|
||||||
# ./firefox.nix
|
# ./firefox.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.sessionPath = [
|
||||||
|
"$HOME/.cargo/bin"
|
||||||
|
];
|
||||||
home.file.".cargo/config.toml".text = cargoConfig;
|
home.file.".cargo/config.toml".text = cargoConfig;
|
||||||
home.file.".config/autostart" = {
|
home.file.".config/autostart" = {
|
||||||
source = ./autostart;
|
source = ./autostart;
|
||||||
|
|
@ -23,12 +27,14 @@ in {
|
||||||
bottom = {
|
bottom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
battery =
|
flags = {
|
||||||
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
|
battery =
|
||||||
then true
|
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
|
||||||
else false;
|
then true
|
||||||
hide_time = true;
|
else false;
|
||||||
enable_gpu = true;
|
hide_time = true;
|
||||||
|
enable_gpu = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
6
users/tao/boxxy.nix
Normal file
6
users/tao/boxxy.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
programs.boxxy = {
|
||||||
|
rules = [];
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -55,6 +55,18 @@
|
||||||
unit = "\t";
|
unit = "\t";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "cpp";
|
||||||
|
auto-format = true;
|
||||||
|
formatter = {
|
||||||
|
command = "clang-format";
|
||||||
|
args = ["--style=file:/home/tao/Templates/clang-format"];
|
||||||
|
};
|
||||||
|
indent = {
|
||||||
|
tab-width = 8;
|
||||||
|
unit = "\t";
|
||||||
|
};
|
||||||
|
}
|
||||||
# { name = "css"; comment = "/*"; }
|
# { name = "css"; comment = "/*"; }
|
||||||
{
|
{
|
||||||
name = "html";
|
name = "html";
|
||||||
|
|
@ -91,6 +103,7 @@
|
||||||
tab-width = 4;
|
tab-width = 4;
|
||||||
unit = " ";
|
unit = " ";
|
||||||
};
|
};
|
||||||
|
text-width = 100;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
language-servers = {
|
language-servers = {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
||||||
"kcm_touchpad"."Disable Touchpad" = "Touchpad Off";
|
"kcm_touchpad"."Disable Touchpad" = "Touchpad Off";
|
||||||
"kcm_touchpad"."Enable Touchpad" = "Touchpad On";
|
"kcm_touchpad"."Enable Touchpad" = "Touchpad On";
|
||||||
"kcm_touchpad"."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"];
|
"kcm_touchpad"."Toggle Touchpad" = ["Meta+Shift+Space" "Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"];
|
||||||
"kmix"."decrease_microphone_volume" = "Microphone Volume Down";
|
"kmix"."decrease_microphone_volume" = "Microphone Volume Down";
|
||||||
"kmix"."decrease_volume" = "Volume Down";
|
"kmix"."decrease_volume" = "Volume Down";
|
||||||
"kmix"."decrease_volume_small" = "Shift+Volume Down";
|
"kmix"."decrease_volume_small" = "Shift+Volume Down";
|
||||||
|
|
@ -244,10 +244,12 @@
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Mouse"."PointerAccelerationProfile".value = 1;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Mouse"."PointerAccelerationProfile".value = 1;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."ClickMethod".value = 2;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."ClickMethod".value = 2;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."DisableWhileTyping".value = true;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."DisableWhileTyping".value = true;
|
||||||
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."Enabled".value = true;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll".value = true;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll".value = true;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."PointerAcceleration".value = 1.000;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."PointerAcceleration".value = 1.000;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."PointerAccelerationProfile".value = 1;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."PointerAccelerationProfile".value = 1;
|
||||||
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."ScrollFactor".value = 0.1;
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."ScrollFactor".value = 0.1;
|
||||||
|
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."TapDragLock".value = false;
|
||||||
"kcminputrc"."Libinput/5426/123/Razer Razer Viper Ultimate Dongle"."PointerAccelerationProfile".value = 1;
|
"kcminputrc"."Libinput/5426/123/Razer Razer Viper Ultimate Dongle"."PointerAccelerationProfile".value = 1;
|
||||||
"kcminputrc"."Mouse"."X11LibInputXAccelProfileFlat".value = true;
|
"kcminputrc"."Mouse"."X11LibInputXAccelProfileFlat".value = true;
|
||||||
"kded5rc"."Module-browserintegrationreminder"."autoload".value = false;
|
"kded5rc"."Module-browserintegrationreminder"."autoload".value = false;
|
||||||
|
|
@ -301,11 +303,12 @@
|
||||||
"kwinrc"."Desktops"."Rows".value = 1;
|
"kwinrc"."Desktops"."Rows".value = 1;
|
||||||
"kwinrc"."Effect-translucency"."Inactive".value = 90;
|
"kwinrc"."Effect-translucency"."Inactive".value = 90;
|
||||||
"kwinrc"."Plugins"."translucencyEnabled".value = true;
|
"kwinrc"."Plugins"."translucencyEnabled".value = true;
|
||||||
|
"kwinrc"."Plugins"."wobblywindowsEnabled".value = true;
|
||||||
"kwinrc"."Tiling"."padding".value = 0;
|
"kwinrc"."Tiling"."padding".value = 0;
|
||||||
"kwinrc"."Tiling/530b5b99-fb5c-526e-822b-a6ca66eb2461"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
"kwinrc"."Tiling/530b5b99-fb5c-526e-822b-a6ca66eb2461"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
||||||
"kwinrc"."Tiling/7162cb98-d4d5-5d5d-9367-29e0f5b63060"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
"kwinrc"."Tiling/7162cb98-d4d5-5d5d-9367-29e0f5b63060"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
||||||
"kwinrc"."Tiling/7e0b89fb-bf08-5d5d-a334-0ecfa3cb7b04"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.2520833333333333},{\"width\":0.7479166666666595}]}";
|
"kwinrc"."Tiling/7e0b89fb-bf08-5d5d-a334-0ecfa3cb7b04"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.2520833333333333},{\"width\":0.7479166666666595}]}";
|
||||||
"kwinrc"."Tiling/b139d5e7-0994-57d9-b378-1e6f13020bc3"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.5003906250000002},{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.4996093749999996}]}";
|
"kwinrc"."Tiling/b139d5e7-0994-57d9-b378-1e6f13020bc3"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5003906250000002},{\"width\":0.4996093749999996}]}";
|
||||||
"kwinrc"."Tiling/b4e8ebb4-a5b0-596a-b70d-9a1b27c4f05b"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.3312500000000039},{\"width\":0.6687499999999946}]}";
|
"kwinrc"."Tiling/b4e8ebb4-a5b0-596a-b70d-9a1b27c4f05b"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.3312500000000039},{\"width\":0.6687499999999946}]}";
|
||||||
"kwinrc"."Tiling/e23d0cc4-ba9f-5b08-9f6b-33b2434ca622"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
"kwinrc"."Tiling/e23d0cc4-ba9f-5b08-9f6b-33b2434ca622"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
||||||
"kwinrc"."Tiling/e688eb74-7230-5d02-a5e0-3b38a54bc04e"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
"kwinrc"."Tiling/e688eb74-7230-5d02-a5e0-3b38a54bc04e"."tiles".value = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue