fix: Docker and steam stuff
This commit is contained in:
parent
fc4db0484a
commit
e29136eae9
6 changed files with 149 additions and 6 deletions
|
@ -5,6 +5,24 @@
|
|||
...
|
||||
}: {
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
steam = pkgs.steam.override {
|
||||
extraPkgs = pkgs: with pkgs; [
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXScrnSaver
|
||||
libpng
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
stdenv.cc.cc.lib
|
||||
libkrb5
|
||||
keyutils
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
@ -16,10 +34,12 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
# Proton GE flag
|
||||
WINE_FULLSCREEN_FSR = "1";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
protonup
|
||||
];
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
services.glusterfs = {
|
||||
enable = true;
|
||||
# killMode = "process";
|
||||
};
|
||||
|
||||
systemd.mounts = [
|
||||
|
@ -32,5 +31,50 @@
|
|||
what = "morbo:/backups";
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/airsonic";
|
||||
where = "/mnt/airsonic";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/blog";
|
||||
where = "/mnt/blog";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/gitea";
|
||||
where = "/mnt/gitea";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/immich";
|
||||
where = "/mnt/immich";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/jellyfin";
|
||||
where = "/mnt/jellyfin";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/lounge";
|
||||
where = "/mnt/lounge";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/printing";
|
||||
where = "/mnt/printing";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/sickchill";
|
||||
where = "/mnt/sickchill";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/tdarr";
|
||||
where = "/mnt/tdarr";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: {
|
||||
services.glusterfs = {
|
||||
enable = true;
|
||||
# killMode = "process";
|
||||
killMode = "process";
|
||||
};
|
||||
|
||||
systemd.automounts = [
|
||||
|
@ -26,5 +26,41 @@
|
|||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/airsonic";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/blog";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/gitea";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/immich";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/jellyfin";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/lounge";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/printing";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/sickchill";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/tdarr";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
services.glusterfs = {
|
||||
enable = true;
|
||||
# killMode = "process";
|
||||
};
|
||||
|
||||
systemd.mounts = [
|
||||
|
@ -32,5 +31,50 @@
|
|||
what = "127.0.0.1:/backups";
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/airsonic";
|
||||
where = "/mnt/airsonic";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/blog";
|
||||
where = "/mnt/blog";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/gitea";
|
||||
where = "/mnt/gitea";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/immich";
|
||||
where = "/mnt/immich";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/jellyfin";
|
||||
where = "/mnt/jellyfin";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/lounge";
|
||||
where = "/mnt/lounge";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/printing";
|
||||
where = "/mnt/printing";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/sickchill";
|
||||
where = "/mnt/sickchill";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/tdarr";
|
||||
where = "/mnt/tdarr";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -12,11 +12,10 @@
|
|||
home.packages = with pkgs; [
|
||||
betterdiscordctl
|
||||
gimp
|
||||
gparted
|
||||
kodi-wayland
|
||||
pavucontrol
|
||||
schildichat-desktop-wayland
|
||||
sublime-music
|
||||
sonixd
|
||||
thunderbird
|
||||
kicad
|
||||
];
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
../../common/nixos/zfs.nix
|
||||
];
|
||||
networking.hostId = "eb081e21";
|
||||
#boot.zfs.extraPools = ["exos"];
|
||||
boot.zfs.extraPools = ["exos"];
|
||||
boot.kernelParams = ["zfs.zfs_arc_max=8589934592"]; # 8GB
|
||||
|
||||
services.zfs.autoSnapshot.enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue