Move Flatpak management to system configuration

Flatpak management has been refactored from Home Manager and nix-flatpak to a new system/flatpak.nix module, now imported in system/common.nix. This centralizes Flatpak enablement and declarative app management at the system level, simplifying configuration and maintenance.
This commit is contained in:
2025-10-26 23:25:10 +00:00
parent a7b9f265af
commit 524663aa9b
4 changed files with 53 additions and 24 deletions

View File

@@ -10,9 +10,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# Declarative Flatpak management
nix-flatpak.url = "github:gmodena/nix-flatpak";
# Optional: Hyprland (if you want a tiling Wayland compositor)
# hyprland.url = "github:hyprwm/Hyprland";
@@ -20,7 +17,7 @@
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }@inputs: {
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
# NixOS configuration for your hostname(s)
nixosConfigurations = {
# Desktop PC configuration
@@ -47,9 +44,6 @@
# User configuration
home-manager.users.zeph = import ./home/home.nix;
# Declarative Flatpak
home-manager.sharedModules = [ nix-flatpak.homeManagerModules.nix-flatpak ];
}
];
};
@@ -78,9 +72,6 @@
# User configuration
home-manager.users.zeph = import ./home/home.nix;
# Declarative Flatpak
home-manager.sharedModules = [ nix-flatpak.homeManagerModules.nix-flatpak ];
}
];
};