Compare commits

...

4 Commits

Author SHA1 Message Date
Lennart J. Kurzweg (Nx2)
b3f33edf19 Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles 2024-07-02 19:04:51 +02:00
Lennart J. Kurzweg (Nx2)
295277ad00 gc 2024-07-02 19:04:48 +02:00
Lennart J. Kurzweg (Nx2)
7356853a1d dm fix 2024-07-02 19:03:23 +02:00
Lennart J. Kurzweg (Nx2)
ae997e92aa hsmw smtp fix 2024-07-01 14:38:04 +02:00
5 changed files with 30 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
./system-modules/sound.nix ./system-modules/sound.nix
./system-modules/fonts.nix ./system-modules/fonts.nix
./system-modules/boot.nix ./system-modules/boot.nix
./system-modules/gc.nix
./system-modules/dm.nix ./system-modules/dm.nix
./system-modules/networking.nix ./system-modules/networking.nix
./system-modules/virtualisation.nix ./system-modules/virtualisation.nix

View File

@@ -111,8 +111,9 @@ lib.mkIf (host != "NxACE")
host = "xc.hs-mittweida.de"; host = "xc.hs-mittweida.de";
}; };
smtp = { smtp = {
port = 465; port = 587;
host = "xc.hs-mittweida.de"; host = "xc.hs-mittweida.de";
tls.useStartTls = true;
}; };
signature = { signature = {
text = '' text = ''

View File

@@ -21,8 +21,11 @@ in
enable = true; enable = true;
pkiBundle = "/etc/secureboot"; pkiBundle = "/etc/secureboot";
}; };
loader.systemd-boot.enable = false; # let lanzaboote install systemd-boot loader.systemd-boot = {
enable = false; # let lanzaboote install systemd-boot
consoleMode = "max";
configurationLimit = 10;
};
# kernelPackages = pkgs.linuxPackages_latest; # kernelPackages = pkgs.linuxPackages_latest;
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
kernelModules = [ "v4l2loopback" ]; kernelModules = [ "v4l2loopback" ];

View File

@@ -5,13 +5,23 @@ if (host != "NxACE") then
enable = true; enable = true;
settings = rec { settings = rec {
hyprland = { hyprland = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland"; command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland --remember-user-session --window-padding 5";
user = user; user = user;
}; };
default_session = hyprland; default_session = hyprland;
vt = 2; vt = 2;
}; };
}; };
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
Standarderror = "journal"; # Without this errors will spam on screen
# Without these bootlogs will spam on screen
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
} }
else else
{ {

11
system-modules/gc.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.auto-optimise-store = true;
};
}