diff --git a/configuration.nix b/configuration.nix index e0fb290..e587f3e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -95,6 +95,8 @@ enable = true; }; + programs.dconf.enable = true; + services.flatpak.enable = true; nixpkgs.config.allowUnfree = true; @@ -161,9 +163,18 @@ "kvm" "qemu" "cdrom" + "input" + "video" ]; }; + services.sunshine = { + enable = true; + autoStart = false; + capSysAdmin = true; + openFirewall = true; + }; + services.fprintd = { enable = true; }; @@ -254,16 +265,31 @@ networking.firewall = { enable = true; allowedTCPPortRanges = [ - { + { # KDE Connect from = 1714; to = 1764; } + { # Steam + from = 27036; + to = 27037; + } + ]; + allowedTCPPorts = [ + 47984 47989 47990 48010 # Sunshine ]; allowedUDPPortRanges = [ - { + { # KDE Connect from = 1714; to = 1764; } + { # Steam + from = 27031; + to = 27036; + } + { # Sunshine + from = 47998; + to = 48000; + } ]; allowedUDPPorts = [ 5353 # mDNS / dnssd diff --git a/emacs/init.el b/emacs/init.el index 609fcad..74066df 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -893,13 +893,13 @@ Point must be at the beginning of balanced expression (sexp)." ;;; Wrapping Up -(use-package envrc - :config - (envrc-global-mode)) - -;; (use-package direnv +;; (use-package envrc ;; :config -;; (direnv-mode)) +;; (envrc-global-mode)) + +(use-package direnv + :config + (direnv-mode)) (provide 'init) ;;; init.el ends here diff --git a/flake.lock b/flake.lock index b1783fc..b6f4b0c 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1729459288, - "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=", + "lastModified": 1730016908, + "narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=", "owner": "nix-community", "repo": "home-manager", - "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e", + "rev": "e83414058edd339148dc142a8437edb9450574c8", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1729256560, - "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=", + "lastModified": 1730200266, + "narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0", + "rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 326d168..ffbba57 100644 --- a/home.nix +++ b/home.nix @@ -25,6 +25,8 @@ args@{ fprintd-tod freetube freetype + gamescope + gamescope-wsi gcc ghostscript gimp-with-plugins @@ -93,7 +95,7 @@ args@{ unzip usbutils vlc - wine-wayland + wine64Packages.waylandFull wlr-randr ]; @@ -235,6 +237,21 @@ args@{ }; }; + programs.msmtp = { + enable = true; + extraAccounts = '' +account lmail +host lyrion.ch +port 465 +auth on +tls on +tls_starttls off +from dziltener@lyrion.ch +user dziltener +passwordeval "pass Privat/Mailaccount | head -n 1" +''; + }; + # services.flatpak = { # enableModule = true; # remotes = { @@ -274,17 +291,23 @@ args@{ ]; packages = [ "com.github.tchx84.Flatseal" + "com.moonlight_stream.Moonlight" + # "dev.lizardbyte.app.Sunshine" "com.usebottles.bottles" "info.beyondallreason.bar" "com.valvesoftware.Steam" "net.lutris.Lutris" "tv.kodi.Kodi" + "org.kde.itinerary" "org.libretro.RetroArch" + "org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08" "org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/24.08" "com.stremio.Stremio" ]; }; + gtk.enable = true; + home.pointerCursor = { package = pkgs.hackneyed; name = "Hackneyed";