.
This commit is contained in:
parent
3bcda62535
commit
1bc3f4e9c1
4 changed files with 64 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
12
flake.lock
12
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": {
|
||||
|
|
25
home.nix
25
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";
|
||||
|
|
Loading…
Reference in a new issue