From 28a55383b477f38749a02d25f8289fd379cba311 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 Jun 2023 12:28:27 -0400 Subject: [PATCH] containers(srb2): Use setup.nix --- containers/srb2.nix | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/containers/srb2.nix b/containers/srb2.nix index d7a0724a..de205566 100644 --- a/containers/srb2.nix +++ b/containers/srb2.nix @@ -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"; }; }; }