mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-02 06:54:49 +02:00
more buldak configuration
This commit is contained in:
parent
43733e4a4a
commit
9d41a6fa81
4 changed files with 94 additions and 14 deletions
5
hosts/buldak/features/default.nix
Normal file
5
hosts/buldak/features/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./discord.nix
|
||||
];
|
||||
}
|
31
hosts/buldak/features/discord.nix
Normal file
31
hosts/buldak/features/discord.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
moonlight-client = pkgs.discord.override {
|
||||
withMoonlight = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
moonlight-client
|
||||
inputs.moonlight.packages.${pkgs.system}.moonlight
|
||||
vesktop
|
||||
];
|
||||
# screen record support
|
||||
xdg = {
|
||||
autostart.enable = true;
|
||||
icons.enable = true;
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
wlr.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
21
hosts/buldak/features/software.nix
Normal file
21
hosts/buldak/features/software.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
zathura
|
||||
bitwarden
|
||||
nil
|
||||
obs-studio
|
||||
osu-lazer-bin
|
||||
];
|
||||
|
||||
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