many changes

This commit is contained in:
2024-06-03 13:49:35 +02:00
parent c9e4ab6af0
commit 5d0827848e
24 changed files with 844 additions and 163 deletions

View File

@@ -308,6 +308,7 @@ exec dunst
#exec --no-startup-id swaybg -c "#000000" -m fill -i ~/.config/wallpaper/wot.jpg
# exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
exec 'sleep 2; swaymsg workspace $ws8; swaymsg layout tabbed'
exec mako --default-timeout=5000
# wallpaper
output eDP-1 scale 1.5
@@ -340,8 +341,8 @@ set $laptop_screen 'eDP-1'
# Clamshell mode or lock & sleep
# This is a if/else statement: [ outputs_count == 1 ] && true || false
bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
#bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
# bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
bindswitch --locked lid:off output $laptop_screen enable
# disable xwayland

View File

@@ -18,6 +18,7 @@ let
};
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig;
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in {
imports = [
./social.nix
@@ -40,16 +41,28 @@ in {
hardware.sane.enable = true;
hardware.pulseaudio.enable = false;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "dominik" ];
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [
alsaUtils
apache-directory-studio
bitwarden
bitwarden-cli
rofi-rbw-wayland
brave
cryptomator
dbeaver
chromium
unstable.cura
freecad
openscad
dbeaver-bin
dbus-sway-environment
ddev
dracula-theme
firefox
foot
@@ -60,10 +73,14 @@ in {
gnome.seahorse
gnome3.adwaita-icon-theme
grim
hunspell
hunspellDicts.de_DE
hunspellDicts.en_US
jmeter
libreoffice
librewolf
mako
mqttui
networkmanagerapplet
nextcloud-client
onlyoffice-bin