use flatpak on atlas

This commit is contained in:
Gabriel Fontes
2022-02-02 17:40:25 -03:00
parent c4f78c6c9a
commit 607b9c080b
7 changed files with 15 additions and 24 deletions
+1
View File
@@ -12,6 +12,7 @@ in
./hardware-configuration.nix
../common
../common/flatpak.nix
../common/podman.nix
../common/misterio-greetd.nix
../common/pipewire.nix
+8
View File
@@ -0,0 +1,8 @@
{
services.flatpak.enable = true;
environment.persistence."/data" = {
directories = [
"/var/lib/flatpak"
];
};
}
+1 -6
View File
@@ -1,8 +1,3 @@
{ hostname, ... }: {
imports = [ ./lutris.nix ./steam.nix ./polymc.nix ]
++ (if hostname == "atlas" then [
./osu.nix
# ./runescape.nix
] else
[ ]);
imports = [ ./lutris.nix ./steam.nix ./polymc.nix ./runescape.nix ];
}
+1 -17
View File
@@ -1,12 +1,11 @@
{ pkgs, features, lib, ... }: {
home.packages = with pkgs; [ runelite nur.repos.misterio.runescape-launcher ];
home.packages = with pkgs; [ runelite ];
home.persistence = lib.mkIf (builtins.elem "persistence" features) {
"/data/games/misterio".directories = [ "Jagex" ];
};
# Override .desktop for changing OSRS cache dir
# TODO: better way other than retyping the entire file?
xdg.desktopEntries = {
RuneLite = {
categories = [ "Game" ];
@@ -20,19 +19,4 @@
type = "Application";
};
};
# Override .desktop for adding gamemoderun
# TODO: better way other than retyping the entire file?
xdg.desktopEntries = {
runescape-launcher = {
categories = [ "Game" ];
comment = "RuneScape - A Free MMORPG from Jagex Ltd.";
exec = "gamemoderun runescape-launcher %u";
genericName = "RuneScape";
icon = "runescape";
name = "RuneScape";
terminal = false;
type = "Application";
};
};
}
@@ -11,6 +11,8 @@
".cabal"
".cargo"
".local/share/containers"
".local/share/flatpak"
".cache/flatpak"
];
allowOther = true;
};
+1 -1
View File
@@ -3,7 +3,7 @@
with inputs.nix-colors.lib { inherit pkgs; };
let
currentScheme.atlas = null;
currentScheme.atlas = "atelier-sulphurpool";
currentScheme.pleione = "paraiso";
currentScheme.merope = "nord";
currentScheme.maia = "ashes";
+1
View File
@@ -13,6 +13,7 @@
"minecraft"
"mysql"
"deluge"
"flatpak"
];
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDci4wJghnRRSqQuX1z2xeaUR+p/muKzac0jw0mgpXE2T/3iVlMJJ3UXJ+tIbySP6ezt0GVmzejNOvUarPAm0tOcW6W0Ejys2Tj+HBRU19rcnUtf4vsKk8r5PW5MnwS8DqZonP5eEbhW2OrX5ZsVyDT+Bqrf39p3kOyWYLXT2wA7y928g8FcXOZjwjTaWGWtA+BxAvbJgXhU9cl/y45kF69rfmc3uOQmeXpKNyOlTk6ipSrOfJkcHgNFFeLnxhJ7rYxpoXnxbObGhaNqn7gc5mt+ek+fwFzZ8j6QSKFsPr0NzwTFG80IbyiyrnC/MeRNh7SQFPAESIEP8LK3PoNx2l1M+MjCQXsb4oIG2oYYMRa2yx8qZ3npUOzMYOkJFY1uI/UEE/j/PlQSzMHfpmWus4o2sijfr8OmVPGeoU/UnVPyINqHhyAd1d3Iji3y3LMVemHtp5wVcuswABC7IRVVKZYrMCXMiycY5n00ch6XTaXBwCY00y8B3Mzkd7Ofq98YHc= (none)"