meta: Move sakaya to containers module

This commit is contained in:
Donovan Glover 2024-09-09 23:08:01 -04:00
parent 1d8199e20a
commit 4495459229
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@
config, config,
nix-config, nix-config,
lib, lib,
pkgs,
... ...
}: }:
@ -53,6 +54,10 @@ in
{ {
systemd.tmpfiles.rules = [ "d /run/user/1000 0700 ${username} users -" ]; systemd.tmpfiles.rules = [ "d /run/user/1000 0700 ${username} users -" ];
environment.systemPackages = mkIf (pkgs.system == "x86_64-linux") (
with nix-config.inputs.sakaya.packages.${pkgs.system}; [ sakaya ]
);
containers = mkIf enableContainers { containers = mkIf enableContainers {
wine = template // { wine = template // {
hostAddress = "192.168.100.34"; hostAddress = "192.168.100.34";

View File

@ -147,10 +147,6 @@ in
] ]
)) ))
(mkIf (pkgs.system == "x86_64-linux") (
with nix-config.inputs.sakaya.packages.${pkgs.system}; [ sakaya ]
))
(with pkgs; [ (with pkgs; [
anki anki
pulseaudio pulseaudio