small changes

This commit is contained in:
2025-05-29 10:11:23 +02:00
parent 9627cd0786
commit 84734df417
5 changed files with 23 additions and 7 deletions

View File

@@ -49,9 +49,8 @@
, unstable
, ... }@inputs:
let
overlay-unstable = final: prev: {
unstable = unstable.legacyPackages.${prev.system};
};
overlay-unstable = final: prev: { unstable = inputs.unstable.legacyPackages.${prev.system}; };
overlays = [ overlay-unstable ];
in
{
nixosConfigurations = {

View File

@@ -7,6 +7,7 @@
];
programs.nix-index = {
enableBashIntegration = true;
enable = true;
};
@@ -14,7 +15,7 @@
programs.bash = {
enable = true;
shellAliases = {
"rebuild" = "sudo nixos-rebuild switch -no-write-lock-file --flake git+https://github.com/adrlau/nix-dotfiles.git -L --impure";
"rebuild" = "sudo nixos-rebuild switch --no-write-lock-file --flake git+https://github.com/adrlau/nix-dotfiles.git -L --impure";
"nixedit" = "sudo vim /etc/nixos/nix-dotfiles/.";
"nixdir" = "cd /etc/nixos/nix-dotfiles";

View File

@@ -63,8 +63,8 @@ let
switch-events {
lid-close { spawn "swaylock"; }
//lid-open { spawn "notify-send" "The laptop lid is open!"; }
tablet-mode-on { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true"; }
tablet-mode-off { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false"; }
tablet-mode-on { spawn "bash" "-c" "wvkbd-mobintl"; }
tablet-mode-off { spawn "bash" "-c" "pkill wvkbd-mobintl"; }
}
@@ -308,7 +308,11 @@ window-rule {
window-rule {
match app-id="onboard"
match app-id="Onboard"
open-floating true
default-window-height { proportion 0.2; }
default-column-width { proportion 0.8; }
block-out-from "screen-capture"
}
binds {
@@ -626,6 +630,8 @@ in
emote
wvkbd
xdg-desktop-portal-gtk

View File

@@ -11,6 +11,13 @@ let
in "rgba(${rgb},${alpha})";
in
{
home.packages = with pkgs; [
fuzzel
wvkbd
];
programs.waybar = {
enable = true;
package = pkgs.waybar;
@@ -19,6 +26,7 @@ in
settings = [
(builtins.fromJSON ''
{
"layer": "top",
"height": 36,
"spacing": 2,
"tray-position": "right",
@@ -66,7 +74,7 @@ in
"custom/keyboard": {
"format": "",
"tooltip": "On-Screen Keyboard",
"on-click": "pkill onboard || onboard"
"on-click": "pkill wvkbd-mobintl || wvkbd-mobintl"
},

View File

@@ -39,6 +39,8 @@ imports =
memoryPercent = 25;
};
boot.plymouth.enable = true;
# Set your time zone.
time.timeZone = "Europe/Oslo";