This commit is contained in:
Daniel Ziltener 2024-08-21 18:18:08 +02:00
parent f769a25a96
commit 2942556cbc
Signed by: zilti
GPG Key ID: B38976E82C9DAE42
3 changed files with 32 additions and 17 deletions

View File

@ -34,9 +34,13 @@ setup-fido:
setup-desktop: setup-desktop:
bw config server https://vaultwarden.lyrion.ch bw config server https://vaultwarden.lyrion.ch
echo "Bitwarden Login"
bw login | grep items | awk '{print $$6}' > ~/.vw-session-key
install: install:
touch ~/.vw-session-key
touch ~/.config/hypr/monitors.conf
nix-collect-garbage --delete-old nix-collect-garbage --delete-old
env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --flake .#ziltis-desktop --impure --show-trace sudo env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --flake .#ziltis-desktop --impure --show-trace
# end # end

View File

@ -54,24 +54,34 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
# services.xserver.enable = true; # services.xserver.enable = true;
services.xserver = { # services.xserver = {
enable = true; # enable = true;
xkb.layout = "de"; # xkb.layout = "de";
xkb.options = "eurosign;e,caps:escape"; # xkb.options = "eurosign;e,caps:escape";
}; # };
services.displayManager = { services.greetd = {
sddm = { enable = true;
enable = true; settings = {
wayland.enable = true; default_session = {
settings = { command = "Hyprland";
Autologin = { user = "zilti";
User = "zilti";
Session = "hyprland";
};
}; };
}; };
vt = 7;
}; };
# services.displayManager = {
# sddm = {
# enable = true;
# wayland.enable = true;
# settings = {
# Autologin = {
# User = "zilti";
# Session = "Hyprland";
# };
# };
# };
# };
services.libinput.enable = true; services.libinput.enable = true;

View File

@ -92,6 +92,7 @@ args@{ config, pkgs, split-monitor-workspaces, flatpaks, ... }:
CHICKEN_INSTALL_PREFIX = "/home/zilti/.local"; CHICKEN_INSTALL_PREFIX = "/home/zilti/.local";
RTC_USE_PIPEWIRE = "true"; RTC_USE_PIPEWIRE = "true";
XCURSOR_SIZE = 48; XCURSOR_SIZE = 48;
BW_SESSION = (builtins.readFile "${config.home.homeDirectory}/.vw-session-key");
}; };
accounts = { accounts = {
@ -236,8 +237,8 @@ args@{ config, pkgs, split-monitor-workspaces, flatpaks, ... }:
shopt -s extglob shopt -s extglob
shopt -s globstar shopt -s globstar
shopt -s checkjobs shopt -s checkjobs
eval "$(${pkgs.liquidprompt}/bin/liquidprompt)" eval "$(cat ${pkgs.liquidprompt}/bin/liquidprompt)"
eval "$(${pkgs.liquidprompt}/share/liquidprompt/themes/alternate_vcs/alternate_vcs.theme)" eval "$(cat ${pkgs.liquidprompt}/share/liquidprompt/themes/alternate_vcs/alternate_vcs.theme)"
''; '';
}; };