Compare commits
4 Commits
a20d64e278
...
b3f33edf19
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3f33edf19 | ||
|
|
295277ad00 | ||
|
|
7356853a1d | ||
|
|
ae997e92aa |
@@ -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
|
||||||
|
|||||||
@@ -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 = ''
|
||||||
|
|||||||
@@ -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" ];
|
||||||
|
|||||||
@@ -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
11
system-modules/gc.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
nix = {
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
settings.auto-optimise-store = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user