chore: spring cleaning
purge unused files fmt according to alejandra syntax
This commit is contained in:
parent
72381b3f46
commit
b60c28d972
6 changed files with 31 additions and 7 deletions
|
@ -10,6 +10,7 @@ in {
|
|||
# Type definitions for nix variables used in this configuration
|
||||
options = with lib;
|
||||
with types; {
|
||||
defaultApplications = {fileManager = mkOption {type = str;};};
|
||||
myWallPaperPath = mkOption {type = path;};
|
||||
myUserName = mkOption {type = str;};
|
||||
myHostName = mkOption {type = str;};
|
||||
|
@ -35,13 +36,15 @@ in {
|
|||
myAutostartCommands = ["${pkgs.brightnessctl}/bin/brightnessctl s ${monitorMinBrightness}"];
|
||||
};
|
||||
myConfigLocation = "/home/${myUserName}/nix-conf";
|
||||
desktopFontFullName = "JetBrainsMono Nerd Font";
|
||||
desktopFontFullName = "IntoneMono NFM:style=Regular";
|
||||
myAutostartCommands = [
|
||||
"${pkgs.brightnessctl}/bin/brightnessctl s ${monitorMaxBrightness}"
|
||||
"fcitx5"
|
||||
# "${pkgs.foot}/bin/foot --server -f \"${desktopFontFullName}:size=12\" -o colors.alpha=0.85"
|
||||
"${pkgs.udiskie}/bin/udiskie"
|
||||
"${pkgs.pa-notify}/bin/pa-notify"
|
||||
"${pkgs.networkmanagerapplet}/bin/nm-applet"
|
||||
];
|
||||
defaultApplications.fileManager = "${pkgs.nemo}/bin/nemo";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
terminalCmd = "${pkgs.foot}/bin/footclient";
|
||||
screenshotLocation = "/home/${config.myUserName}/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S').png";
|
||||
|
@ -21,13 +23,18 @@ in
|
|||
"$mod, Q, killactive"
|
||||
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
|
||||
"$mod, F, fullscreen"
|
||||
"$mod, E, exec, ${pkgs.pcmanfm}/bin/pcmanfm"
|
||||
"$mod, E, exec, ${config.defaultApplications.fileManager}"
|
||||
# foot terminal
|
||||
"$mod, Return, exec, ${terminalCmd} ${config.myShells.defaultShell}"
|
||||
"$mod SHIFT, Return, exec, [float] ${terminalCmd} ${config.myShells.defaultShell}"
|
||||
|
||||
# cmdline utilities
|
||||
"$mod, N, exec, [float] ${terminalCmd} ${pkgs.networkmanager}/bin/nmtui"
|
||||
/*
|
||||
NOTE Replaced by network manager applet
|
||||
nmtui interface is no longer needed
|
||||
TODO Fix floating window rule
|
||||
*/
|
||||
# "$mod, N, exec, [float] ${terminalCmd} ${pkgs.networkmanager}/bin/nmtui"
|
||||
"$mod, M, exec, [float] ${terminalCmd} ${pkgs.zenith}/bin/zenith"
|
||||
|
||||
# vimkeys navigation
|
||||
|
@ -36,6 +43,11 @@ in
|
|||
"$mod, K, movefocus, u"
|
||||
"$mod, L, movefocus, r"
|
||||
]
|
||||
++ (
|
||||
if config.services.swaync.enable
|
||||
then ["$mod, N, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t"]
|
||||
else []
|
||||
)
|
||||
++ (
|
||||
# workspaces
|
||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [foot];
|
||||
|
@ -58,6 +59,7 @@
|
|||
};
|
||||
bind = import ./binds.nix {
|
||||
inherit config;
|
||||
inherit lib;
|
||||
inherit pkgs;
|
||||
};
|
||||
bindm = [
|
||||
|
|
|
@ -10,5 +10,6 @@
|
|||
./discord.nix
|
||||
./wayland-utils.nix
|
||||
./pentesting.nix
|
||||
./dev.nix
|
||||
];
|
||||
}
|
||||
|
|
9
home-manager/stvnliu/packages/dev.nix
Normal file
9
home-manager/stvnliu/packages/dev.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
wget
|
||||
];
|
||||
}
|
|
@ -9,12 +9,9 @@
|
|||
settings = {
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
#font = "${config.desktopFontFullName}:size=24";
|
||||
dpi-aware = lib.mkForce "yes";
|
||||
};
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
};
|
||||
mouse = {hide-when-typing = "yes";};
|
||||
};
|
||||
server.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue