From c0575c77aed4693ac3cd45da18cb0983f04449f2 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 24 May 2024 13:32:18 +0000 Subject: [PATCH] added flatpaks --- hosts/common/users/media/default.nix | 11 ++++++++--- hosts/sparky/default.nix | 16 ++++++++-------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/hosts/common/users/media/default.nix b/hosts/common/users/media/default.nix index 3924855..de18918 100644 --- a/hosts/common/users/media/default.nix +++ b/hosts/common/users/media/default.nix @@ -51,6 +51,14 @@ in path = "/home/media/.ssh/id_ed25519.pub"; }; + services.flatpak.enable = true; + users.users.media = { + packages = with pkgs; [ + flatpak + gnome.gnome-software + ]; + }; + programs.zsh.enable = true; programs.fuse.userAllowOther = true; @@ -60,7 +68,4 @@ in media = import ../../../../home/${hostname}.nix; }; }; - - environment.systemPackages = [ - ]; } diff --git a/hosts/sparky/default.nix b/hosts/sparky/default.nix index 90b2f23..c1e8c09 100644 --- a/hosts/sparky/default.nix +++ b/hosts/sparky/default.nix @@ -43,6 +43,7 @@ in "/etc/nixos" "/var/log" "/var/lib/nixos" + "/var/lib/flatpak" "/var/lib/systemd/coredump" "/etc/NetworkManager/system-connections" ]; @@ -81,14 +82,13 @@ in services.libinput.enable = true; services.displayManager.defaultSession = "cinnamon"; - services.xserver = { - enable = true; - displayManager.lightdm.enable = true; - desktopManager = { - cinnamon.enable = true; - }; - }; - + services.xserver = { + enable = true; + displayManager.lightdm.enable = true; + desktopManager = { + cinnamon.enable = true; + }; + }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "23.11";