mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-10 15:40:21 +02:00
added workstation config
This commit is contained in:
parent
b52b99f405
commit
7fa38d9777
5 changed files with 88 additions and 9 deletions
41
hosts/workstation/features/software/workstation.nix
Normal file
41
hosts/workstation/features/software/workstation.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
# for java development on vscode
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"davinci-resolve"
|
||||
"vscode"
|
||||
"tetrio-desktop"
|
||||
"beeper"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
zathura
|
||||
libreoffice-qt
|
||||
hunspell
|
||||
hunspellDicts.fr-any
|
||||
hunspellDicts.en-gb-large
|
||||
|
||||
# recording software
|
||||
obs-studio
|
||||
|
||||
gvfs
|
||||
|
||||
nil
|
||||
bitwarden
|
||||
];
|
||||
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue