update nixosConfigurations
This commit is contained in:
parent
93b7000b39
commit
f63ccb92ca
14
flake.nix
14
flake.nix
@ -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; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user