This commit is contained in:
2025-10-27 04:58:57 +09:00
parent 03eaebefce
commit 8e5a5aed37
2 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ layout {
// See the binds section below for more spawn examples. // See the binds section below for more spawn examples.
// This line starts waybar, a commonly used bar for Wayland compositors. // This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "waybar" spawn-at-startup "swaybg -m fill -i ${pkgs.nixos-artwork.wallpapers.simple-dark.gray.src}"
spawn-at-startup "fcitx5 -dr" spawn-at-startup "fcitx5 -dr"
@@ -366,7 +366,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="Run an Application: vicinae" { spawn "vicinae"; } Mod+D hotkey-overlay-title="Run an Application: vicinae" { spawn "vicinae toggle"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
+11 -1
View File
@@ -1,7 +1,13 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
{ {
nixpkgs.config = { nixpkgs.config = {
allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [ "google-chrome" "vscode" ]; allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [
"google-chrome"
"vscode"
"1password"
"1password-gui"
"1password-cli"
];
}; };
services.xserver.enable = true; services.xserver.enable = true;
@@ -34,6 +40,7 @@
xwayland-satellite xwayland-satellite
google-chrome google-chrome
vscode vscode
_1password-gui _1password
]; ];
environment.sessionVariables = { environment.sessionVariables = {
@@ -52,4 +59,7 @@
]; ];
}; };
}; };
programs._1password.enable = true;
programs._1password-gui.enable = true;
} }