updated nixos

Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-12-16 12:53:37 +02:00
parent 2867eed5f9
commit 0066175c4e
3 changed files with 57 additions and 8 deletions

View file

@ -172,18 +172,18 @@ in {
gnomeExtensions.media-controls gnomeExtensions.media-controls
gnomeExtensions.solaar-extension gnomeExtensions.solaar-extension
gnomeExtensions.paperwm gnomeExtensions.paperwm
nerdfonts # nerdfonts
everblush everblush
bibata-cursors bibata-cursors
adw-gtk3 adw-gtk3
virt-manager virt-manager
gnome.gnome-software gnome-software
evtest evtest
appimagekit appimagekit
solaar solaar
hplip hplip
cozette cozette
gnome.gnome-remote-desktop gnome-remote-desktop
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -288,4 +288,8 @@ in {
}; };
}; };
fonts = {
packages = [] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
};
} }

View file

@ -173,11 +173,13 @@
("*" mc/mark-all-like-this) ("*" mc/mark-all-like-this)
("v" er/expand-region) ("v" er/expand-region)
("/" phi-search) ("/" phi-search)
("=" indent-region)
("C-v" set-rectangular-region-anchor) ("C-v" set-rectangular-region-anchor)
("M-s" mc/split-region) ("M-s" mc/split-region)
(";" (("q" delete-window) (";" (("q" delete-window)
("v" split-window-horizontally) ("v" split-window-horizontally)
("s" split-window-vertically))) ("s" split-window-vertically)))
("SPC" (("r" eglot-rename)))
("C-h" windmove-left) ("C-h" windmove-left)
("C-j" windmove-down) ("C-j" windmove-down)
("C-k" windmove-up) ("C-k" windmove-up)

View file

@ -80,6 +80,7 @@ let
phi-search phi-search
undo-tree undo-tree
counsel counsel
elcord
]; ];
}); });
helix = inputs.helix.packages.${pkgs.system}.default; helix = inputs.helix.packages.${pkgs.system}.default;
@ -278,8 +279,8 @@ in {
dino dino
# cinny-desktop # cinny-desktop
(inputs.nix-inst.packages.${pkgs.system}.default) (inputs.nix-inst.packages.${pkgs.system}.default)
dotnet-runtime_6 # dotnet-runtime_6
# dotnet-runtime_8 dotnet-runtime_8
tea tea
thefuck thefuck
playerctl playerctl
@ -289,6 +290,7 @@ in {
cozette cozette
leiningen leiningen
sublime-music sublime-music
calibre
]; ];
file = { file = {
"emacs.d/everblush-theme.el".source = ./configs/emacs/everblush-theme.el; "emacs.d/everblush-theme.el".source = ./configs/emacs/everblush-theme.el;
@ -331,7 +333,7 @@ in {
}; };
shellAliases = { shellAliases = {
cls = "clear"; cls = "clear";
# emcc = "emacsclient -c"; emcc = "emacsclient -c";
}; };
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
@ -504,25 +506,66 @@ in {
#enable = true; #enable = true;
package = pkgs.niri-stable; package = pkgs.niri-stable;
settings = { settings = {
prefer-no-csd = true;
window-rules = [
{
geometry-corner-radius = {
bottom-left = 8.0;
top-left = 8.0;
top-right = 8.0;
bottom-right = 8.0;
};
clip-to-geometry = true;
}
{
matches = [{is-focused = false;}];
opacity = 0.85;
}
];
# layout = {
#
# };
outputs = { outputs = {
eDP-1 = { eDP-1 = {
enable = true; enable = false;
scale = 2.25; scale = 2.25;
position = { x = 0; y = 0; }; position = { x = 0; y = 0; };
}; };
DP-2 = { DP-2 = {
enable = true; enable = false;
scale = 2.25; scale = 2.25;
position = { x = 0; y = 960; }; position = { x = 0; y = 960; };
}; };
DP-1 = {
enable = true;
};
}; };
binds = with config.lib.niri.actions; { binds = with config.lib.niri.actions; {
"Mod+Q".action = close-window;
"Mod+T".action.spawn = "alacritty"; "Mod+T".action.spawn = "alacritty";
"Ctrl+Alt+T".action.spawn = "alacritty";
"Mod+D".action.spawn = "fuzzel"; "Mod+D".action.spawn = "fuzzel";
"Mod+Shift+E".action = quit; "Mod+Shift+E".action = quit;
"Mod+Ctrl+shift+E".action = quit { skip-confirmation = true; }; "Mod+Ctrl+shift+E".action = quit { skip-confirmation = true; };
"Mod+Shift+Slash".action = show-hotkey-overlay; "Mod+Shift+Slash".action = show-hotkey-overlay;
"Mod+F".action = fullscreen-window; "Mod+F".action = fullscreen-window;
"Mod+J".action = focus-column-or-monitor-left;
"Mod+K".action = focus-window-down;
"Mod+L".action = focus-window-up;
"Mod+semicolon".action = focus-column-or-monitor-right;
"Mod+Left".action = focus-column-or-monitor-left;
"Mod+Down".action = focus-window-down;
"Mod+Up".action = focus-window-up;
"Mod+Right".action = focus-column-or-monitor-right;
"Mod+WheelScrollRight".action = focus-column-or-monitor-right;
"Mod+WheelScrollLeft".action = focus-column-or-monitor-left;
"Mod+WheelScrollDown".action = focus-workspace-down;
"Mod+WheelScrollUp".action = focus-workspace-up;
"Mod+Minus".action = set-column-width "-10%";
"Mod+Plus".action = set-column-width "+10%";
"Mod+Equal".action = set-column-width "+10%";
}; };
}; };
}; };