few changes

This commit is contained in:
k3t
2026-03-12 23:37:17 -06:00
parent 0d0904b456
commit 1a6eb9a7a4
3 changed files with 14 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
old/ old/
result/
+12 -1
View File
@@ -17,11 +17,12 @@
mkPiImage = modules: (nixpkgs.lib.nixosSystem { mkPiImage = modules: (nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs = { inherit impermanence nixos-hardware; }; specialArgs = { inherit impermanence nixos-hardware home-manager; };
modules = [ modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
nixos-hardware.nixosModules.raspberry-pi-4 nixos-hardware.nixosModules.raspberry-pi-4
home-manager.nixosModules.home-manager
] ++ modules; ] ++ modules;
}).config.system.build.sdImage; }).config.system.build.sdImage;
in { in {
@@ -92,11 +93,21 @@
./modules/common.nix ./modules/common.nix
./modules/pi-common.nix ./modules/pi-common.nix
./hosts/pi-car/configuration.nix ./hosts/pi-car/configuration.nix
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.k3t = ./home/car.nix;
}
]; ];
pi-htpc = mkPiImage [ pi-htpc = mkPiImage [
./modules/common.nix ./modules/common.nix
./modules/pi-common.nix ./modules/pi-common.nix
./hosts/pi-htpc/configuration.nix ./hosts/pi-htpc/configuration.nix
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.k3t = ./home/desktop.nix;
}
]; ];
}; };
}; };
+1
View File
@@ -199,6 +199,7 @@
users.users.k3t = { users.users.k3t = {
packages = with pkgs; [ packages = with pkgs; [
joplin-desktop
qbittorrent qbittorrent
kdePackages.kate kdePackages.kate
jellyfin-desktop jellyfin-desktop