diff --git a/modules/applications/moonlight/home.nix b/modules/applications/moonlight/home.nix deleted file mode 100644 index 8a78a0a..0000000 --- a/modules/applications/moonlight/home.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ lib, pkgs, ... }: -lib.mkIf pkgs.stdenv.hostPlatform.isLinux { - home.packages = [ pkgs.moonlight-qt ]; -} diff --git a/modules/applications/moonlight/home/nixos.nix b/modules/applications/moonlight/home/nixos.nix new file mode 100644 index 0000000..0637001 --- /dev/null +++ b/modules/applications/moonlight/home/nixos.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: +{ + home.packages = [ pkgs.moonlight-qt ]; +} diff --git a/modules/applications/nautilus/home.nix b/modules/applications/nautilus/home.nix deleted file mode 100644 index 4559c4c..0000000 --- a/modules/applications/nautilus/home.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: -lib.mkIf pkgs.stdenv.hostPlatform.isLinux { - home.packages = [ - pkgs.nautilus - pkgs.sushi - ]; - - dconf.settings = { - "org/gnome/nautilus/preferences" = { - always-use-location-entry = true; - default-folder-viewer = "list-view"; - }; - - "org/gnome/nautilus/list-view".use-tree-view = true; - - # Nautilus 50 migrates this setting from GTK 3 to GTK 4. - "org/gtk/settings/file-chooser".show-hidden = true; - "org/gtk/gtk4/settings/file-chooser".show-hidden = true; - }; - - gtk.gtk3.bookmarks = [ - "file://${config.home.homeDirectory}/Desktop Desktop" - "file://${config.home.homeDirectory}/Pictures Pictures" - "file://${config.home.homeDirectory}/Downloads Downloads" - "file://${config.home.homeDirectory}/projects projects" - ]; - - home.activation.createProjectsDirectory = { - after = [ "writeBoundary" ]; - before = [ ]; - data = '' - $DRY_RUN_CMD mkdir -p "$HOME/projects" - ''; - }; -} diff --git a/modules/services/sunshine/nixos.nix b/modules/services/sunshine/nixos.nix index 4caa3e0..a085390 100644 --- a/modules/services/sunshine/nixos.nix +++ b/modules/services/sunshine/nixos.nix @@ -1,6 +1,8 @@ { services.sunshine = { enable = true; + autoStart = true; + capSysAdmin = true; openFirewall = true; }; }