Merge pull request #339 from genebean/fix-flatpak-location

Flatpak doesn't need to be on cli-only systems
This commit is contained in:
Gene Liverman 2024-01-01 13:34:02 -05:00 committed by GitHub
commit febf4e569e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 11 deletions

View file

@ -1,6 +1,7 @@
{ config, pkgs, username, ... }: { { pkgs, username, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../../system/common/linux/flatpaks.nix
]; ];
system.stateVersion = "23.05"; system.stateVersion = "23.05";

View file

@ -49,16 +49,6 @@
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
services = { services = {
flatpak = {
enable = true;
packages = [
"im.riot.Riot"
];
update.auto = {
enable = true;
onCalendar = "daily";
};
};
openssh.enable = true; openssh.enable = true;
tailscale = { tailscale = {
enable = true; enable = true;

View file

@ -0,0 +1,15 @@
{ ... }: {
services = {
flatpak = {
enable = true;
packages = [
"im.riot.Riot"
];
update.auto = {
enable = true;
onCalendar = "daily";
};
};
};
}