From 42b2ec74f582db779ce63ec5f294b0200713b660 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:57:59 +0100 Subject: [PATCH 1/6] feat: setup timesyncd. --- modules/linux/nixos/general-services.nix | 3 +++ modules/servers/common/basic-services.nix | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 modules/servers/common/basic-services.nix diff --git a/modules/linux/nixos/general-services.nix b/modules/linux/nixos/general-services.nix index 86f2436..0c909a9 100644 --- a/modules/linux/nixos/general-services.nix +++ b/modules/linux/nixos/general-services.nix @@ -28,5 +28,8 @@ size = 32 * 1024; } ]; + + # Setup ntp + services.timesyncd.enable = true; }; } diff --git a/modules/servers/common/basic-services.nix b/modules/servers/common/basic-services.nix new file mode 100644 index 0000000..eea8f9d --- /dev/null +++ b/modules/servers/common/basic-services.nix @@ -0,0 +1,4 @@ +{ + # Setup ntp + services.timesyncd.enable = true; +} From df78e73aa96a4ff93735712a7f50667c4828b92f Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:58:20 +0100 Subject: [PATCH 2/6] feat: setup quiet boot parameter. --- modules/linux/nixos/boot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/linux/nixos/boot.nix b/modules/linux/nixos/boot.nix index db9b242..15c2257 100644 --- a/modules/linux/nixos/boot.nix +++ b/modules/linux/nixos/boot.nix @@ -12,5 +12,6 @@ "vm.swappiness" = 10; "kernel.nmi_watchdog" = 0; }; + boot.kernelParams = ["quiet"]; }; } From a36be2b85239f425a033bb06e872671084d4da3a Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:58:47 +0100 Subject: [PATCH 3/6] feat: delete ventoy. --- hosts/ymir/configuration.nix | 5 ----- modules/linux/home-manager/desktop.nix | 1 - 2 files changed, 6 deletions(-) diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 1b813a6..06e3ab6 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -156,11 +156,6 @@ ]; }; - nixpkgs.config.permittedInsecurePackages = [ - "qtwebengine-5.15.19" - "ventoy-1.1.07" - ]; - # Optimise storage nix.optimise = { automatic = true; diff --git a/modules/linux/home-manager/desktop.nix b/modules/linux/home-manager/desktop.nix index 98b0bdd..60becc0 100644 --- a/modules/linux/home-manager/desktop.nix +++ b/modules/linux/home-manager/desktop.nix @@ -13,7 +13,6 @@ piper galaxy-buds-client nicotine-plus - # ventoy feather gparted cameractrls-gtk4 From e14563fd083fc086839dfd4a9415eed4eeb1a7ae Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:59:12 +0100 Subject: [PATCH 4/6] feat: disable unnecesarry xserver setup. --- hosts/skadi/configuration.nix | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index e5e2504..2d6b768 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -55,6 +55,8 @@ enable32Bit = true; }; + hardware.opengl.enable = true; + services.xserver.videoDrivers = ["nvidia"]; hardware.nvidia = { @@ -89,15 +91,15 @@ LC_TIME = "hr_HR.UTF-8"; }; - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - options = "caps:escape"; - }; + # # Enable the X11 windowing system. + # services.xserver.enable = true; + # + # # Configure keymap in X11 + # services.xserver.xkb = { + # layout = "us"; + # variant = ""; + # options = "caps:escape"; + # }; # Enable seatd services.seatd.enable = true; @@ -258,9 +260,6 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; - # Allow Broken Packages - nixpkgs.config.allowBroken = true; - # Setup community cache nix.settings = { substituters = [ @@ -301,11 +300,6 @@ ]; }; - # Permit some insecure pacakges - nixpkgs.config.permittedInsecurePackages = [ - "ventoy-1.1.07" - ]; - # Optimise storage nix.optimise = { automatic = true; From 3eb2da307949d13e0e06dc27e4d1fc472875fbbe Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:59:30 +0100 Subject: [PATCH 5/6] feat: disable broken packages. --- hosts/tyr/configuration.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/hosts/tyr/configuration.nix b/hosts/tyr/configuration.nix index 425ebac..0dff9b4 100644 --- a/hosts/tyr/configuration.nix +++ b/hosts/tyr/configuration.nix @@ -75,9 +75,6 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; - # Allow broken packages - nixpkgs.config.allowBroken = true; - # Setup community cache nix.settings = { substituters = [ From eb2fb5c8672aef5bb0e95e87df939e9bbb14d798 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 20 Jan 2026 17:59:42 +0100 Subject: [PATCH 6/6] feat: setup networkd correctly. --- hosts/tyr/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/tyr/configuration.nix b/hosts/tyr/configuration.nix index 0dff9b4..daa9d62 100644 --- a/hosts/tyr/configuration.nix +++ b/hosts/tyr/configuration.nix @@ -17,15 +17,19 @@ # Get nicer hostname networking.hostName = "tyr"; # Define your hostname. + networking.useNetworkd = true; + # Enable and setup networking - networking.networkmanager.enable = true; networking.interfaces.enp1s0.ipv4.addresses = [ { address = "192.168.0.5"; prefixLength = 24; } ]; - networking.defaultGateway = "192.168.0.1"; + networking.defaultGateway = { + interface = "enp1s0"; + address = "192.168.0.1"; + }; networking.nameservers = ["127.0.0.1"]; services.resolved = { enable = true;