zenix: plymouth, fixes
This commit is contained in:
parent
62d9f9ef41
commit
2202ebef0b
7 changed files with 28 additions and 14 deletions
|
|
@ -6,7 +6,6 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
user = config.user;
|
user = config.user;
|
||||||
decrypt = import ../lib/decrypt.nix;
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
|
@ -20,7 +19,7 @@ in {
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909";
|
device = "/dev/mapper/cryptroot";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["subvol=@" "compress=zstd" "autodefrag"];
|
options = ["subvol=@" "compress=zstd" "autodefrag"];
|
||||||
};
|
};
|
||||||
|
|
@ -32,30 +31,38 @@ in {
|
||||||
options = ["noatime"];
|
options = ["noatime"];
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.postDeviceCommands = pkgs.lib.mkBefore (decrypt {
|
boot.initrd.luks.devices."usbkey" = {
|
||||||
keydevice = "/dev/disk/by-id/usb-Generic_Flash_Disk_BCC97785-0:0";
|
device = "/dev/disk/by-id/usb-Generic_Flash_Disk_BCC97785-0:0";
|
||||||
keypartname = "usbkey";
|
};
|
||||||
});
|
|
||||||
|
|
||||||
boot.initrd.luks.devices."cryptroot" = {
|
boot.initrd.luks.devices."cryptroot" = {
|
||||||
device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151";
|
device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151";
|
||||||
keyFileSize = 4096;
|
keyFileSize = 4096;
|
||||||
|
preOpenCommands = ''
|
||||||
|
mkdir -m 0755 -p /key
|
||||||
|
mount -n -t vfat -o ro /dev/mapper/usbkey /key
|
||||||
|
'';
|
||||||
keyFile = "/key/keyfile";
|
keyFile = "/key/keyfile";
|
||||||
preLVM = false;
|
preLVM = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909";
|
device = "/dev/mapper/cryptroot";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["subvol=@home" "compress=zstd" "autodefrag"];
|
options = ["subvol=@home" "compress=zstd" "autodefrag"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/FE7E-0DE3";
|
device = "/dev/disk/by-label/boot";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [{device = "/dev/disk/by-uuid/da57b489-ab77-4830-b710-9f96cf43d053";}];
|
boot.plymouth.enable = true;
|
||||||
|
boot.initrd.verbose = false;
|
||||||
|
boot.consoleLogLevel = 1;
|
||||||
|
boot.kernelParams = ["quiet" "udev.log_level=3"];
|
||||||
|
|
||||||
|
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
|
||||||
|
|
@ -277,5 +277,10 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar.settings.mainBar.modules-left = ["hyprland/workspaces" "hyprland/window"];
|
programs.waybar = {
|
||||||
|
settings.mainBar.modules-left = ["hyprland/workspaces" "hyprland/window"];
|
||||||
|
systemd.target = "hyprland-session.target";
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.hypridle.Install.WantedBy = ["hyprland-session.target"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
gimp
|
gimp
|
||||||
libreoffice
|
libreoffice
|
||||||
dbeaver-bin
|
dbeaver-bin
|
||||||
drawio
|
|
||||||
|
|
||||||
# entertainment
|
# entertainment
|
||||||
libsForQt5.kasts
|
libsForQt5.kasts
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@
|
||||||
services.nextcloud-client.enable = true;
|
services.nextcloud-client.enable = true;
|
||||||
|
|
||||||
programs.nixvim.plugins = {
|
programs.nixvim.plugins = {
|
||||||
lsp = {
|
|
||||||
servers.gdscript.enable = true;
|
|
||||||
};
|
|
||||||
godot.enable = true;
|
godot.enable = true;
|
||||||
dap = {
|
dap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
pkgs.drawio
|
||||||
pkgs.thunderbird
|
pkgs.thunderbird
|
||||||
pkgs.remmina
|
pkgs.remmina
|
||||||
pkgs.postman
|
pkgs.postman
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,10 @@ in {
|
||||||
fzf
|
fzf
|
||||||
sops
|
sops
|
||||||
lsof
|
lsof
|
||||||
|
nix-tree
|
||||||
|
nix-index
|
||||||
|
nh
|
||||||
|
jq
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
"steam"
|
"steam"
|
||||||
|
"steam-unwrapped"
|
||||||
"steam-run"
|
"steam-run"
|
||||||
"steam-original"
|
"steam-original"
|
||||||
"osu-lazer"
|
"osu-lazer"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue