feat(demeter): migrate new configurations

This commit is contained in:
Youwen Wu 2024-11-27 17:18:28 -08:00
parent 477994706a
commit 3623b797f3
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 67 additions and 41 deletions

View file

@ -13,7 +13,6 @@
../../modules/linux/greeter
../../modules/linux/core
../../modules/linux/desktop-portal
../../modules/linux/desktop-portal
../../modules/linux/audio-prod
../../modules/linux/wine
../../modules/linux/stylix

View file

@ -28,6 +28,26 @@
};
};
boot = {
plymouth = {
enable = true;
font = "${config.stylix.fonts.monospace.package}/share/fonts/truetype/NerdFonts/CaskaydiaCoveNerdFontMono-Regular.ttf";
};
# Enable "Silent Boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
initrd.systemd.enable = true;
};
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
@ -70,6 +90,8 @@
NetworkManager-wait-online.enable = false;
};
hardware.enableAllFirmware = true;
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver.enable = false;

View file

@ -1,11 +1,10 @@
{
inputs,
system,
osConfig,
...
}:
{
imports = with inputs; [
imports =
[
./configuration.nix
../../modules/linux/gaming
../../modules/linux/audio
@ -16,30 +15,35 @@
../../modules/linux/hamachi
../../modules/linux/desktop-portal
../../modules/linux/audio-prod
../../modules/linux/stylix
../../modules/linux/wine
../../overlays
lanzaboote.nixosModules.lanzaboote
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = {
inherit inputs;
inherit osConfig;
};
home-manager.users.youwen = {
imports = [
../../users/youwen/linux/desktop
imports =
[
../../users/youwen/linux/laptop
../../users/youwen/linux/packages/x86_64
../../users/youwen/linux/programs
../../users/youwen/common/neofetch
../../users/youwen/common/fastfetch
../../users/youwen/common
../../users/youwen/linux/spicetify
./home-manager-extras
];
]
++ (with inputs; [
nix-index-database.hmModules.nix-index
]);
};
}
];
]
++ (with inputs; [
lanzaboote.nixosModules.lanzaboote
home-manager.nixosModules.home-manager
]);
}

View file

@ -5,7 +5,8 @@
}:
{
wayland.windowManager.hyprland.settings.monitor = [
"DP-1,2560x1440@165,1920x0,auto"
# "DP-1,2560x1440@165,1920x0,auto"
"DP-1,2560x1440@144,1920x0,auto"
"HDMI-A-1,1920x1080@60,0x0,1"
];
}