Added the necessary configurations and dependencies to enable Flatpak in the Fuchsia module. This includes enabling the xdg portal for default settings and adding the flatpak service.
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{...}: {
|
|
imports = [
|
|
# Global configuartion for all our systems
|
|
../common/global
|
|
|
|
# Our user configuration and optional user units
|
|
../common/users/sajenim
|
|
../common/users/sajenim/steam
|
|
|
|
# Optional components
|
|
../common/optional/yubikey.nix
|
|
|
|
# Services
|
|
./services/amdgpu-clocks
|
|
./services/flatpak
|
|
./services/libinput
|
|
./services/ollama
|
|
./services/printers
|
|
./services/udev
|
|
./services/xserver
|
|
|
|
# Setup our hardware
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
# Networking configuration
|
|
networking = {
|
|
hostName = "fuchsia";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
# Configure programs
|
|
programs = {
|
|
zsh.enable = true;
|
|
# Load and unload environment variables.
|
|
direnv.enable = true;
|
|
# Android debug bridge: communicate with devices.
|
|
adb.enable = true;
|
|
};
|
|
|
|
# Configure services
|
|
services = {
|
|
# Access smart cards using SCard API
|
|
pcscd.enable = true;
|
|
};
|
|
|
|
# Manage linux containers
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
liveRestore = false;
|
|
};
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "24.05";
|
|
}
|