added flatpaks

This commit is contained in:
Sam 2024-05-24 13:32:18 +00:00
parent 55ce313df7
commit c0575c77ae
2 changed files with 16 additions and 11 deletions

View File

@ -51,6 +51,14 @@ in
path = "/home/media/.ssh/id_ed25519.pub"; 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.zsh.enable = true;
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;
@ -60,7 +68,4 @@ in
media = import ../../../../home/${hostname}.nix; media = import ../../../../home/${hostname}.nix;
}; };
}; };
environment.systemPackages = [
];
} }

View File

@ -43,6 +43,7 @@ in
"/etc/nixos" "/etc/nixos"
"/var/log" "/var/log"
"/var/lib/nixos" "/var/lib/nixos"
"/var/lib/flatpak"
"/var/lib/systemd/coredump" "/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
]; ];
@ -81,14 +82,13 @@ in
services.libinput.enable = true; services.libinput.enable = true;
services.displayManager.defaultSession = "cinnamon"; services.displayManager.defaultSession = "cinnamon";
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.lightdm.enable = true; displayManager.lightdm.enable = true;
desktopManager = { desktopManager = {
cinnamon.enable = true; cinnamon.enable = true;
}; };
}; };
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "23.11"; system.stateVersion = "23.11";