Compare commits
No commits in common. "224b53dda106d1f6dcd30003d8153975f19362ab" and "da59669d8522f1ba4cb7d3eb21af925f4472d4d6" have entirely different histories.
224b53dda1
...
da59669d85
@ -34,6 +34,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./hosts/server/configuration.nix
|
./hosts/server/configuration.nix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
|
nixos-hardware.nixosModules.system76
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -49,10 +49,10 @@
|
|||||||
services.xserver.desktopManager.gnome.enable = false;
|
services.xserver.desktopManager.gnome.enable = false;
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# services.auto-cpufreq.enable = true;
|
services.auto-cpufreq.enable = true;
|
||||||
# services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
# powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
# powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
sound.enable = false;
|
sound.enable = false;
|
||||||
@ -68,7 +68,7 @@
|
|||||||
users.users.k = {
|
users.users.k = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "k";
|
description = "k";
|
||||||
extraGroups = [ "networkmanager" "wheel" "libvirtd"];
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||||
packages = with pkgs; [zsh];
|
packages = with pkgs; [zsh];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
@ -78,34 +78,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
# Allows Wolf to acces /dev/uinput
|
|
||||||
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
|
|
||||||
|
|
||||||
# Allows Wolf to access /dev/uhid
|
|
||||||
KERNEL=="uhid", TAG+="uaccess"
|
|
||||||
|
|
||||||
# Move virtual keyboard and mouse into a different seat
|
|
||||||
SUBSYSTEMS=="input", ATTRS{id/vendor}=="ab00", MODE="0660", GROUP="input", ENV{ID_SEAT}="seat9"
|
|
||||||
|
|
||||||
# Joypads
|
|
||||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf X-Box One (virtual) pad", MODE="0660", GROUP="input"
|
|
||||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf PS5 (virtual) pad", MODE="0660", GROUP="input"
|
|
||||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf gamepad (virtual) motion sensors", MODE="0660", GROUP="input"
|
|
||||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf Nintendo (virtual) pad", MODE="0660", GROUP="input"
|
|
||||||
'';
|
|
||||||
|
|
||||||
users.users.game = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = ["docker" "input"];
|
|
||||||
packages = with pkgs; [docker-compose];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.media = {
|
|
||||||
isNormalUser = true;
|
|
||||||
packages = with pkgs; [mpv ffmpeg handbrake makemkv];
|
|
||||||
};
|
|
||||||
|
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
nix.gc.automatic = true;
|
nix.gc.automatic = true;
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,15 @@
|
|||||||
labels = ["ubuntu-latest:docker://node:16-bullseye" "ubuntu-22.04:docker://node:16-bullseye" "ubuntu-20.04:docker://node:16-bullseye" "ubuntu-18.04:docker://node:16-buster" "native:host"];
|
labels = ["ubuntu-latest:docker://node:16-bullseye" "ubuntu-22.04:docker://node:16-bullseye" "ubuntu-20.04:docker://node:16-bullseye" "ubuntu-18.04:docker://node:16-buster" "native:host"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.pufferpanel = {
|
||||||
|
enable = true;
|
||||||
|
extraGroups =["docker"];
|
||||||
|
extraPackages = [pkgs.jre];
|
||||||
|
environment = {
|
||||||
|
PUFFER_WEB_HOST = ":8002";
|
||||||
|
PUFFER_PANEL_REGISTRATIONENABLED = "false";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -85,7 +94,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable=true;
|
enable=false;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
@ -133,6 +142,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"puf.dhilton.xyz" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8002";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"srx.dhilton.xyz" = {
|
"srx.dhilton.xyz" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user