1
0
forked from extern/nix-config

meta: Move containers config to setup.nix

The config sets up the containers, hence setup.nix.
This commit is contained in:
Donovan Glover 2023-06-22 12:24:54 -04:00
parent 505e35edcd
commit 9167763aeb
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,3 @@
{ home-manager, stylix, ... }:
{
containers.gui = {
privateNetwork = true;
@ -25,11 +23,7 @@
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; [

View File

@ -1,6 +1,13 @@
{ pkgs, ... }:
{ pkgs, home-manager, stylix, ... }:
{
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./modules/fonts.nix
./modules/stylix.nix
];
environment = {
defaultPackages = [ ];
variables.TERM = "xterm-kitty";