mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-23 00:34:24 +01:00
44 lines
877 B
Nix
44 lines
877 B
Nix
{ home-manager, stylix, ... }:
|
|
|
|
{
|
|
containers.gui = {
|
|
privateNetwork = true;
|
|
ephemeral = true;
|
|
|
|
bindMounts = {
|
|
"/mnt" = {
|
|
hostPath = "/home/user/containers/gui";
|
|
isReadOnly = false;
|
|
};
|
|
|
|
waylandDisplay = rec {
|
|
hostPath = "/run/user/1000";
|
|
mountPoint = hostPath;
|
|
};
|
|
|
|
x11Display = rec {
|
|
hostPath = "/tmp/.X11-unix";
|
|
mountPoint = hostPath;
|
|
isReadOnly = true;
|
|
};
|
|
};
|
|
|
|
config = { pkgs, ... }: {
|
|
imports = [
|
|
home-manager.nixosModules.home-manager
|
|
stylix.nixosModules.stylix
|
|
../setup.nix
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
audacity # Audio editing
|
|
gimp # Video editing
|
|
anki # Spaced repetition
|
|
sqlitebrowser # SQL
|
|
kanjidraw # Kanji draw
|
|
libreoffice
|
|
];
|
|
};
|
|
};
|
|
}
|