From 29b349684e6e3db5d2397b281f0612654fde3a3f Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 18 Mar 2023 21:43:48 +0530 Subject: [PATCH] install flatpak --- home/persistence.nix | 2 ++ system/packages.nix | 6 +++++- system/persistence.nix | 1 + system/services.nix | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home/persistence.nix b/home/persistence.nix index 9c2cd56..b84fdf4 100644 --- a/home/persistence.nix +++ b/home/persistence.nix @@ -13,12 +13,14 @@ ".config/spotify-tui" ".gnupg" ".local/share/atuin" + ".local/share/flatpak" ".local/share/keyrings" ".local/share/nix" ".local/share/zsh" ".mozilla" ".nixos-config" ".ssh" + ".var" "Documents" "Downloads" diff --git a/system/packages.nix b/system/packages.nix index 648fbec..333e6f7 100644 --- a/system/packages.nix +++ b/system/packages.nix @@ -1,6 +1,9 @@ { pkgs, ... }: { - fonts.fonts = with pkgs; [ + fonts = { + enableDefaultFonts = true; + fontDir.enable = true; + fonts = with pkgs; [ cantarell-fonts liberation_ttf (nerdfonts.override { fonts = [ "FiraCode" ]; }) @@ -8,6 +11,7 @@ noto-fonts-cjk noto-fonts-emoji ]; +}; programs = { git.enable = true; diff --git a/system/persistence.nix b/system/persistence.nix index 0bf468e..68d4b8a 100644 --- a/system/persistence.nix +++ b/system/persistence.nix @@ -9,6 +9,7 @@ "/var/cache/apparmor" "/var/lib/bluetooth" "/var/lib/docker" + "/var/lib/flatpak" "/var/lib/iwd" "/var/lib/libvirt" "/var/lib/NetworkManager" diff --git a/system/services.nix b/system/services.nix index a8d5880..6ca9fb4 100644 --- a/system/services.nix +++ b/system/services.nix @@ -6,6 +6,7 @@ apparmor = "enabled"; packages = [ pkgs.gcr pkgs.gcr_4 ]; }; + flatpak.enable = true; fstrim.enable = true; fwupd.enable = true; gvfs.enable = true;