Working quietboot? (kind of)
This commit is contained in:
parent
c8eef155e5
commit
e63d8b32f6
|
@ -16,7 +16,7 @@ let
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./wireless
|
./wireless
|
||||||
./tailscale.nix
|
# ./tailscale.nix
|
||||||
../../../../common
|
../../../../common
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,28 +1,14 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
|
||||||
# [Gtkgreet](https://git.sr.ht/~kennylevinsen/gtkgreet) — greetd greeter of choice
|
|
||||||
gtkgreet = lib.getExe pkgs.greetd.gtkgreet;
|
|
||||||
|
|
||||||
# [Cage](https://github.com/cage-kiosk/cage) — wayland kiosk
|
|
||||||
cage = lib.getExe pkgs.cage;
|
|
||||||
|
|
||||||
dbus-run-session = "${pkgs.dbus}/bin/dbus-run-session";
|
|
||||||
|
|
||||||
kiosk = command:
|
|
||||||
"${dbus-run-session} ${cage} -s -- ${command}";
|
|
||||||
|
|
||||||
background = ../../../../common/themes/wallpapers/eye.png;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
vt = 1;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
# command = kiosk "${gtkgreet} -b ${background}";
|
|
||||||
command = ''
|
command = ''
|
||||||
${lib.getExe pkgs.greetd.tuigreet} \
|
${lib.getExe pkgs.greetd.tuigreet} \
|
||||||
-c ${lib.getExe config.programs.hyprland.package} \
|
-c ${lib.getExe config.programs.hyprland.package} \
|
||||||
-g "(。◕‿◕。) Welcome to tethys!" \
|
-g " (.>_>.) Welcome to tethys! (.<_<.)" \
|
||||||
--remember
|
--remember
|
||||||
--asterisks
|
--asterisks
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -6,19 +6,20 @@
|
||||||
theme = "cuts_alt";
|
theme = "cuts_alt";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console = {
|
||||||
|
useXkbConfig = true;
|
||||||
|
earlySetup = false;
|
||||||
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# See https://search.nixos.org/options?show=boot.initrd.verbose&query=boot.initrd.verbose
|
# See https://search.nixos.org/options?show=boot.initrd.verbose&query=boot.initrd.verbose
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"quiet"
|
"quiet"
|
||||||
"splash"
|
|
||||||
"boot.shell_on_fail"
|
|
||||||
"i915.fastboot=1"
|
|
||||||
"loglevel=3"
|
"loglevel=3"
|
||||||
"rd.systemd.show_status=false"
|
"systemd.show_status=auto"
|
||||||
"rd.udev.log_level=3"
|
|
||||||
"udev.log_priority=3"
|
|
||||||
"vt.global_cursor_default=0"
|
|
||||||
"udev.log_level=3"
|
"udev.log_level=3"
|
||||||
|
"rd.udev.log_level=3"
|
||||||
|
"vt.global_cursor_default=0"
|
||||||
];
|
];
|
||||||
consoleLogLevel = 0;
|
consoleLogLevel = 0;
|
||||||
initrd.verbose = false;
|
initrd.verbose = false;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
imports = [ inputs.grub2-themes.nixosModules.default ];
|
imports = [ inputs.grub2-themes.nixosModules.default ];
|
||||||
|
|
||||||
|
boot.initrd.systemd.enable = true;
|
||||||
|
|
||||||
# Defined [here](https://github.com/vinceliuice/grub2-themes/blob/master/flake.nix#L11)
|
# Defined [here](https://github.com/vinceliuice/grub2-themes/blob/master/flake.nix#L11)
|
||||||
boot.loader.grub2-theme = {
|
boot.loader.grub2-theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
../common/optional/slambda.nix
|
../common/optional/slambda.nix
|
||||||
../common/optional/xdg-portal.nix
|
../common/optional/xdg-portal.nix
|
||||||
../common/optional/hyprland.nix
|
../common/optional/hyprland.nix
|
||||||
|
../common/optional/quietboot.nix
|
||||||
|
|
||||||
./services/syncthing.nix
|
./services/syncthing.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
Loading…
Reference in a new issue