containers(srb2): Use setup.nix

This commit is contained in:
Donovan Glover 2023-06-22 12:28:27 -04:00
parent 9167763aeb
commit 28a55383b4
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,4 +1,4 @@
{ home-manager, stylix, ... }: {
{
containers.srb2 = {
privateNetwork = true;
ephemeral = true;
@ -35,38 +35,12 @@
config = { pkgs, ... }: {
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./common/wayland.nix
../modules/fonts.nix
../modules/stylix.nix
../setup.nix
];
environment.systemPackages = with pkgs; [
srb2
kitty
];
users = {
mutableUsers = false;
allowNoPasswordLogin = true;
users.user = {
isNormalUser = true;
home = "/home/user";
};
};
home-manager.users.user = { ... }: {
home.stateVersion = "22.11";
};
environment = {
variables = { TERM = "xterm-kitty"; };
defaultPackages = [ ];
};
system.stateVersion = "22.11";
};
};
}