Added hetzner server configs
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
bootspec.enable = true;
|
||||
|
||||
initrd.systemd.enable = true;
|
||||
|
||||
supportedFilesystems = [ "ntfs" ];
|
||||
supportedFilesystems = ["ntfs"];
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot.loader = {
|
||||
limine = {
|
||||
enable = true;
|
||||
|
||||
+4
-4
@@ -15,10 +15,10 @@ let
|
||||
|
||||
# GUI-specific modules (display manager, GPU, pipewire)
|
||||
gui = [
|
||||
./core/boot.nix # plymouth boot splash
|
||||
./hardware/graphics.nix # GPU drivers
|
||||
./services/greetd.nix # display manager
|
||||
./services/pipewire.nix # audio
|
||||
./core/boot.nix # plymouth boot splash
|
||||
./hardware/graphics.nix # GPU drivers
|
||||
./services/greetd.nix # display manager
|
||||
./services/pipewire.nix # audio
|
||||
];
|
||||
|
||||
# Laptop-specific modules (battery, bluetooth)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
denyInterfaces = [ "docker0" "veth*" "virbr*" ];
|
||||
denyInterfaces = ["docker0" "veth*" "virbr*"];
|
||||
publish = {
|
||||
enable = true;
|
||||
domain = true;
|
||||
|
||||
@@ -5,10 +5,12 @@
|
||||
}: let
|
||||
# Patch termfilechooser .portal to add Niri to UseIn
|
||||
termfilechooser-niri = pkgs.xdg-desktop-portal-termfilechooser.overrideAttrs (old: {
|
||||
postFixup = (old.postFixup or "") + ''
|
||||
substituteInPlace $out/share/xdg-desktop-portal/portals/termfilechooser.portal \
|
||||
--replace-fail "wlroots;" "wlroots;Niri;"
|
||||
'';
|
||||
postFixup =
|
||||
(old.postFixup or "")
|
||||
+ ''
|
||||
substituteInPlace $out/share/xdg-desktop-portal/portals/termfilechooser.portal \
|
||||
--replace-fail "wlroots;" "wlroots;Niri;"
|
||||
'';
|
||||
});
|
||||
in {
|
||||
xdg.portal = {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
alsa.support32Bit = true;
|
||||
jack.enable = true;
|
||||
pulse.enable = true;
|
||||
extraLadspaPackages = [ pkgs.rnnoise-plugin ];
|
||||
extraLadspaPackages = [pkgs.rnnoise-plugin];
|
||||
|
||||
wireplumber = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user