This commit is contained in:
Daniel Ziltener 2024-11-01 11:21:36 +01:00
parent 3bcda62535
commit 1bc3f4e9c1
Signed by: zilti
GPG key ID: B38976E82C9DAE42
4 changed files with 64 additions and 15 deletions

View file

@ -95,6 +95,8 @@
enable = true; enable = true;
}; };
programs.dconf.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -161,9 +163,18 @@
"kvm" "kvm"
"qemu" "qemu"
"cdrom" "cdrom"
"input"
"video"
]; ];
}; };
services.sunshine = {
enable = true;
autoStart = false;
capSysAdmin = true;
openFirewall = true;
};
services.fprintd = { services.fprintd = {
enable = true; enable = true;
}; };
@ -254,16 +265,31 @@
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPortRanges = [ allowedTCPPortRanges = [
{ { # KDE Connect
from = 1714; from = 1714;
to = 1764; to = 1764;
} }
{ # Steam
from = 27036;
to = 27037;
}
];
allowedTCPPorts = [
47984 47989 47990 48010 # Sunshine
]; ];
allowedUDPPortRanges = [ allowedUDPPortRanges = [
{ { # KDE Connect
from = 1714; from = 1714;
to = 1764; to = 1764;
} }
{ # Steam
from = 27031;
to = 27036;
}
{ # Sunshine
from = 47998;
to = 48000;
}
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
5353 # mDNS / dnssd 5353 # mDNS / dnssd

View file

@ -893,13 +893,13 @@ Point must be at the beginning of balanced expression (sexp)."
;;; Wrapping Up ;;; Wrapping Up
(use-package envrc ;; (use-package envrc
:config
(envrc-global-mode))
;; (use-package direnv
;; :config ;; :config
;; (direnv-mode)) ;; (envrc-global-mode))
(use-package direnv
:config
(direnv-mode))
(provide 'init) (provide 'init)
;;; init.el ends here ;;; init.el ends here

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729459288, "lastModified": 1730016908,
"narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=", "narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e", "rev": "e83414058edd339148dc142a8437edb9450574c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729256560, "lastModified": 1730200266,
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=", "narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0", "rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -25,6 +25,8 @@ args@{
fprintd-tod fprintd-tod
freetube freetube
freetype freetype
gamescope
gamescope-wsi
gcc gcc
ghostscript ghostscript
gimp-with-plugins gimp-with-plugins
@ -93,7 +95,7 @@ args@{
unzip unzip
usbutils usbutils
vlc vlc
wine-wayland wine64Packages.waylandFull
wlr-randr 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 = { # services.flatpak = {
# enableModule = true; # enableModule = true;
# remotes = { # remotes = {
@ -274,17 +291,23 @@ args@{
]; ];
packages = [ packages = [
"com.github.tchx84.Flatseal" "com.github.tchx84.Flatseal"
"com.moonlight_stream.Moonlight"
# "dev.lizardbyte.app.Sunshine"
"com.usebottles.bottles" "com.usebottles.bottles"
"info.beyondallreason.bar" "info.beyondallreason.bar"
"com.valvesoftware.Steam" "com.valvesoftware.Steam"
"net.lutris.Lutris" "net.lutris.Lutris"
"tv.kodi.Kodi" "tv.kodi.Kodi"
"org.kde.itinerary"
"org.libretro.RetroArch" "org.libretro.RetroArch"
"org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08"
"org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/24.08" "org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/24.08"
"com.stremio.Stremio" "com.stremio.Stremio"
]; ];
}; };
gtk.enable = true;
home.pointerCursor = { home.pointerCursor = {
package = pkgs.hackneyed; package = pkgs.hackneyed;
name = "Hackneyed"; name = "Hackneyed";