diff --git a/home/firefox.nix b/home/firefox.nix index 9d16849b..41a453f7 100644 --- a/home/firefox.nix +++ b/home/firefox.nix @@ -9,9 +9,9 @@ programs.firefox = { enable = true; - # nativeMessagingHosts = with pkgs; [ - # tridactyl-native - # ]; + nativeMessagingHosts = with pkgs; [ + tridactyl-native + ]; policies = { Homepage = { diff --git a/home/git.nix b/home/git.nix index ddab180f..9120d09f 100644 --- a/home/git.nix +++ b/home/git.nix @@ -1,6 +1,7 @@ {...}: { programs.git = { enable = true; + lfs.enable = true; userName = "Lilith"; userEmail = "ole@benstem.de"; difftastic.enable = true; diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 4ed03b63..a7be6d1a 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -24,6 +24,7 @@ ]; exec-once = [ + "hyprlock" "ssh-agent" "[workspace special:keepass silent] keepassxc" ]; diff --git a/home/hyprland/hyprlock.nix b/home/hyprland/hyprlock.nix index 1957341d..407b8fe2 100644 --- a/home/hyprland/hyprlock.nix +++ b/home/hyprland/hyprlock.nix @@ -1,4 +1,4 @@ -{...}:{ +{ config, ...}:{ programs.hyprlock = { enable = true; @@ -11,14 +11,23 @@ background = [ { - color = "rgba(25, 20, 20, 1.0)"; + path = "screenshot"; + # color = "rgba(25, 20, 20, 1.0)"; + + blur_passes = 2; + blur_size = 7; + noise = 0.0117; + contrast = 0.8916; + brightness = 0.8172; + vibrancy = 0.1696; + vibrancy_darkness = 0.0; } ]; input-field = [ { - size = "200, 50"; - position = "0, -80"; + size = "800, 80"; + position = "0, 0"; monitor = ""; dots_center = true; fade_on_empty = false; diff --git a/home/packages.nix b/home/packages.nix index bbef3da3..d54fb372 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -23,6 +23,8 @@ keepassxc ncspot + vesktop + btop htop ]; diff --git a/home/persist.nix b/home/persist.nix index 91a57421..b050e71a 100644 --- a/home/persist.nix +++ b/home/persist.nix @@ -5,11 +5,12 @@ ".config/sops" ".config/keepassxc" ".config/obsidian" - ".config/discord" + ".config/vesktop" ".gnupg" ".ssh" ".thunderbird" + ".mozilla" "nixos" "sync" diff --git a/system/default.nix b/system/default.nix index a1bbfe17..66bcb464 100644 --- a/system/default.nix +++ b/system/default.nix @@ -35,24 +35,7 @@ in { conf.extraConfig conf.hardware-configuration - ./audio.nix - ./boot.nix - ./env.nix - ./networking.nix - ./persistence.nix - ./bluetooth.nix - ./btrfs.nix - ./fonts.nix - ./nix.nix - ./nfs.nix - ./users.nix - ./sops.nix - ./ssh.nix - ./steam.nix - ./stylix.nix - ./syncthing.nix - ./wayland.nix - ./zsh.nix + ./full.nix home-manager.nixosModules.home-manager ({config, ...}: { diff --git a/system/env.nix b/system/env.nix index a942bb1b..957336d9 100644 --- a/system/env.nix +++ b/system/env.nix @@ -3,5 +3,6 @@ EDITOR = "hx"; VISUAL = "hx"; FLAKE = conf.home + /nixos; + ELECTRON_OZONE_PLATFORM_HINT = "auto"; }; } diff --git a/system/full.nix b/system/full.nix new file mode 100644 index 00000000..da1122b5 --- /dev/null +++ b/system/full.nix @@ -0,0 +1,24 @@ +{lib, config, ...}: { + imports = [ + ./audio.nix + ./boot.nix + ./env.nix + ./networking.nix + ./persistence.nix + ./bluetooth.nix + ./btrfs.nix + ./fonts.nix + ./nix.nix + ./nfs.nix + ./users.nix + ./sops.nix + ./ssh.nix + ./steam.nix + ./stylix.nix + ./syncthing.nix + ./wayland.nix + ./zsh.nix + ] ++ lib.optionals conf.gaming.enable [ + ./vr.nix + ]; +} diff --git a/system/vr.nix b/system/vr.nix new file mode 100644 index 00000000..dc52ffdc --- /dev/null +++ b/system/vr.nix @@ -0,0 +1,12 @@ +{...}: { + services.monado = { + enable = true; + defaultRuntime = true; + }; + + systemd.user.services.monado.environment = { + STEAMVR_LH_ENABLE = "1"; + XRT_COMPOSITOR_COMPUTE = "1"; + WMR_HANDTRACKING = "0"; + }; +}