diff --git a/home-manager/dotfiles/sway/config b/home-manager/dotfiles/sway/config index 8a090e6..3479b5a 100755 --- a/home-manager/dotfiles/sway/config +++ b/home-manager/dotfiles/sway/config @@ -29,7 +29,7 @@ set $screenshot_folder ~/Images/Captures\ d\'écrans/ ### Output configuration # # Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/) -output * bg wallpapers/577806.jpg fill +output * bg wallpapers/wipeout_1.jpg fill # # Example configuration: # diff --git a/home-manager/dotfiles/waybar/config.jsonc b/home-manager/dotfiles/waybar/config.jsonc index 26f7a1f..40d2e80 100644 --- a/home-manager/dotfiles/waybar/config.jsonc +++ b/home-manager/dotfiles/waybar/config.jsonc @@ -2,14 +2,7 @@ "layer": "top", "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": [], - "modules-right": [ - "wireplumber", - "cpu", - "bluetooth", - "network", - "clock", - "privacy" - ], + "modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"], "clock": { "format-alt": "{:%a, %d. %b %H:%M}" }, diff --git a/home-manager/dotfiles/waybar/style.css b/home-manager/dotfiles/waybar/style.css index a7629ce..e39b21d 100644 --- a/home-manager/dotfiles/waybar/style.css +++ b/home-manager/dotfiles/waybar/style.css @@ -1,6 +1,4 @@ -:root { - --primary-color: #7b002c; -} +@define-color primary rgba(123, 0, 44, 1); * { font-family: "CodeNewRoman Nerd Font"; @@ -12,7 +10,7 @@ window#waybar { margin: 12px 24px; background-color: #fff; - border: solid 2px var(--primary-color); + border: solid 2px @primary; min-height: 14px; /* set waybar's height to 14px */ font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */ border-radius: 12px; @@ -27,8 +25,6 @@ window#waybar { } #workspaces button.focused { - border-bottom: solid 2px var(--primary-color); - border-radius: 0; } #workspaces { diff --git a/home-manager/home.nix b/home-manager/home.nix index 54f492d..6203e71 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -78,6 +78,7 @@ pkgs.audacious-plugins pkgs.krita + pkgs.udiskie # # You can also create simple shell scripts directly inside your # # configuration. For example, this adds a command 'my-hello' to your # # environment: @@ -146,6 +147,12 @@ services.mpris-proxy.enable = true; + services.udiskie = { + enable = true; + tray = "auto"; + automount = true; + }; + programs.swaylock = { enable = true; }; diff --git a/hosts/goober/configuration.nix b/hosts/goober/configuration.nix index ec48d21..ad47560 100644 --- a/hosts/goober/configuration.nix +++ b/hosts/goober/configuration.nix @@ -85,6 +85,7 @@ grim slurp wl-clipboard + udiskie ]; # Some programs need SUID wrappers, can be configured further or are @@ -97,6 +98,7 @@ services.udisks2.enable = true ; + security.pam.services.swaylock = {}; # List services that you want to enable: diff --git a/hosts/goober/features/software/qemu.nix b/hosts/goober/features/software/qemu.nix index b69ef91..a02f569 100644 --- a/hosts/goober/features/software/qemu.nix +++ b/hosts/goober/features/software/qemu.nix @@ -1,9 +1,12 @@ {pkgs, config, ...}: { environment.systemPackages = with pkgs; [ + spice-gtk quickemu qemu ]; + virtualisation.spiceUSBRedirection.enable = true; + systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ]; }