update nixosConfigurations

This commit is contained in:
Andreas Schaafsma 2024-10-08 06:19:00 +02:00
parent 93b7000b39
commit f63ccb92ca
2 changed files with 47 additions and 39 deletions

View File

@ -15,8 +15,7 @@
installedPackages = (import ./installed-packages { inherit pkgs; }); installedPackages = (import ./installed-packages { inherit pkgs; });
in in
{ {
nixosConfigurations = { nixosConfigurations.nixos-wsl = nixpkgs.lib.nixosSystem {
nixos = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
nixos-wsl.nixosModules.default nixos-wsl.nixosModules.default
@ -37,7 +36,7 @@
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };
th0nkpad-nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.th0nkpad-nixos = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
./systems/th0nkpad-nixos/configuration.nix ./systems/th0nkpad-nixos/configuration.nix
@ -52,10 +51,17 @@
enable = true; enable = true;
package = pkgs.nix-ld-rs; package = pkgs.nix-ld-rs;
}; };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
} }
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };
}; };
};
} }

View File

@ -89,6 +89,8 @@
description = "Andreas"; description = "Andreas";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
flatpak
gnome-software
# thunderbird # thunderbird
]; ];
}; };