diff --git a/configuration.nix b/configuration.nix index d045cc2..7cb4c36 100644 --- a/configuration.nix +++ b/configuration.nix @@ -80,19 +80,38 @@ home-manager.users.nat = import ./home.nix; + #nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + # "unityhub" + # "corefonts" + #]; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" "steam-unwrapped" + ]; + #services.flatpak.enable = true; + #xdg.portal.enable = true; + + # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ kakoune # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget git + ddate gay + gcc blahaj + sl ]; # Allow swaylock to work security.pam.services.swaylock = { }; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + }; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. diff --git a/flake.lock b/flake.lock index 4dee4f2..832b13d 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1752256062, - "narHash": "sha256-2s0PrY3vIFusm4UrqPnskY6SgdVolEDAz9wHcCSadcw=", + "lastModified": 1763416652, + "narHash": "sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM=", "owner": "nix-community", "repo": "home-manager", - "rev": "b8b7e5ec3570eb003d55f4947dd39af15c3ca98d", + "rev": "ea164b7c9ccdc2321379c2ff78fd4317b4c41312", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1751984180, - "narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=", + "lastModified": 1763421233, + "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0", + "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index e9755e0..0f36555 100644 --- a/home.nix +++ b/home.nix @@ -19,10 +19,14 @@ home.packages = with pkgs; [ audacity + ardour beluga - bitwarden + bitwarden-desktop + cargo + catgirl clifm darktable + ffmpeg gimp godot hledger @@ -34,21 +38,30 @@ prismlauncher signal-desktop texliveFull + #unityhub vlc xournalpp + tor + tor-browser + weechat + xdg-desktop-portal-wlr ] ++ [ + atkinson-hyperlegible julia-mono + meslo-lgs-nf noto-fonts + noto-fonts-cjk-sans + noto-fonts-cjk-serif redhat-official-fonts font-awesome - overpass rubik roboto openmoji-black openmoji-color - ]; + ] + ; fonts.fontconfig = { enable = true; @@ -89,6 +102,9 @@ # Notifications services.mako = { enable = true; + settings = { + default-timeout = 30000; + }; }; home.sessionVariables = { diff --git a/sway/sway.nix b/sway/sway.nix index 022d6d5..c6818da 100644 --- a/sway/sway.nix +++ b/sway/sway.nix @@ -5,13 +5,25 @@ let (builtins.readFile ./chvol.sh); chbright = pkgs.writeShellScript "chbrights" (builtins.readFile ./chbright.sh); - + multiTouchGesturesConfig = '' + bindgesture swipe:4:up focus parent + bindgesture swipe:4:left workspace prev + bindgesture swipe:4:right workspace next + bindgesture swipe:3:up focus up + bindgesture swipe:3:down focus down + bindgesture swipe:3:left focus left + bindgesture swipe:3:right focus right + ''; in { home.packages = with pkgs; [ grim slurp wl-clipboard brightnessctl ]; + home.sessionVariables = { + NIXOS_OZONE_WL = "1"; + }; + wayland.windowManager.sway = { enable = true; config = { @@ -57,7 +69,14 @@ in { }; # GODOT IS A PAIN - # extraConfig = "for_window [app_id=\"godot\"] border none"; + extraConfig = " + for_window [class=\"^.*Godot.*$\"] floating enable + for_window [class=\"^.*Unity.*$\"] floating enable + " + + multiTouchGesturesConfig + + + ''output 'eDP-1' scale 1'' + ; };