Merge branch 'master' of ssh://ssh.nx2.site:50022/nx2/dotfiles into nod
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
let
|
||||
{ pkgs, ... }@all: with all; let
|
||||
grub-theme-ascii-diana = (pkgs.fetchFromGitea {
|
||||
domain = "git.${hyper.domain}";
|
||||
owner = "nx2";
|
||||
@@ -9,6 +8,10 @@ let
|
||||
});
|
||||
device-boot = if hyper.host == "NxNORTH" then {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelParams = [
|
||||
"fbcon=margin:1"
|
||||
"fbcon=nodefer"
|
||||
];
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/var/lib/sbctl";
|
||||
@@ -19,7 +22,7 @@ let
|
||||
configurationLimit = 10;
|
||||
};
|
||||
} else if hyper.host == "NxXPS" then {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModprobeConfig = ''options v4l2loopback devices=1 video_nr=1 card_label="OBS VCam" exclusive_caps=1'';
|
||||
@@ -62,8 +65,6 @@ in {
|
||||
] else [];
|
||||
config = {
|
||||
environment.systemPackages = with pkgs; lib.mkIf ( host == "NxNORTH" ) [ sbctl ];
|
||||
boot ={
|
||||
tmp.useTmpfs = false;
|
||||
} // device-boot;
|
||||
boot = { tmp.useTmpfs = false; } // device-boot;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
{
|
||||
{ pkgs, ... }@all: with all; {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
@@ -10,15 +9,23 @@
|
||||
default_session = hyprland;
|
||||
vt = 2;
|
||||
};
|
||||
# useTextGreeter = true;
|
||||
};
|
||||
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;
|
||||
};
|
||||
# services.displayManager.ly = {
|
||||
# enable = true;
|
||||
# package = pkgs.ly;
|
||||
# settings = {
|
||||
# # animation = "matrix";
|
||||
# # clear_password = true;
|
||||
# clock = "%c";
|
||||
# lang = "de";
|
||||
# load = true;
|
||||
# # numlock = false;
|
||||
# save = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# cmatrix
|
||||
# ];
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib.mkIf (hyper.host != "NxACE")
|
||||
{
|
||||
systemd.timers."health_reminder" = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = "30m";
|
||||
|
||||
Reference in New Issue
Block a user