mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-30 19:09:35 +01:00
more style & comfort update
This commit is contained in:
parent
5da82a8e80
commit
a2bfea4c99
|
@ -29,7 +29,7 @@ set $screenshot_folder ~/Images/Captures\ d\'écrans/
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
# 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:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
|
|
@ -2,14 +2,7 @@
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": [
|
"modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"],
|
||||||
"wireplumber",
|
|
||||||
"cpu",
|
|
||||||
"bluetooth",
|
|
||||||
"network",
|
|
||||||
"clock",
|
|
||||||
"privacy"
|
|
||||||
],
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
:root {
|
@define-color primary rgba(123, 0, 44, 1);
|
||||||
--primary-color: #7b002c;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "CodeNewRoman Nerd Font";
|
font-family: "CodeNewRoman Nerd Font";
|
||||||
|
@ -12,7 +10,7 @@
|
||||||
window#waybar {
|
window#waybar {
|
||||||
margin: 12px 24px;
|
margin: 12px 24px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: solid 2px var(--primary-color);
|
border: solid 2px @primary;
|
||||||
min-height: 14px; /* set waybar's height to 14px */
|
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 */
|
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
|
@ -27,8 +25,6 @@ window#waybar {
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
border-bottom: solid 2px var(--primary-color);
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
pkgs.audacious-plugins
|
pkgs.audacious-plugins
|
||||||
|
|
||||||
pkgs.krita
|
pkgs.krita
|
||||||
|
pkgs.udiskie
|
||||||
# # You can also create simple shell scripts directly inside your
|
# # You can also create simple shell scripts directly inside your
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
# # environment:
|
# # environment:
|
||||||
|
@ -146,6 +147,12 @@
|
||||||
|
|
||||||
services.mpris-proxy.enable = true;
|
services.mpris-proxy.enable = true;
|
||||||
|
|
||||||
|
services.udiskie = {
|
||||||
|
enable = true;
|
||||||
|
tray = "auto";
|
||||||
|
automount = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
udiskie
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
@ -97,6 +98,7 @@
|
||||||
|
|
||||||
services.udisks2.enable = true ;
|
services.udisks2.enable = true ;
|
||||||
|
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
{pkgs, config, ...}: {
|
{pkgs, config, ...}: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
spice-gtk
|
||||||
quickemu
|
quickemu
|
||||||
qemu
|
qemu
|
||||||
];
|
];
|
||||||
|
|
||||||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
|
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue