basePackages use mkDashDefault

This commit is contained in:
DashieTM 2025-05-09 22:17:21 +02:00
parent 1a518fa79a
commit a4f23bf459
5 changed files with 28 additions and 27 deletions

View file

@ -50,14 +50,13 @@ in {
"sd_mod"
];
};
kernelParams = lib.mkDefault (
kernelParams =
[
''resume="PARTLABEL=SWAP"''
''quiet''
''udev.log_level=3''
]
++ config.conf.bootParams
);
++ config.conf.bootParams;
};
networking = {
@ -102,7 +101,7 @@ in {
builders-use-substitutes = mkDashDefault true;
substituters = lib.mkDefault [
substituters = [
"https://hyprland.cachix.org"
"https://anyrun.cachix.org"
"https://cache.garnix.io"
@ -116,7 +115,7 @@ in {
"https://chaotic-nyx.cachix.org/"
];
trusted-public-keys = lib.mkDefault [
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
@ -163,11 +162,10 @@ in {
"video"
"audio"
];
packages = with pkgs;
lib.mkDefault [
home-manager
xdg-desktop-portal-gtk
];
packages = with pkgs; [
home-manager
xdg-desktop-portal-gtk
];
# this password will only last for the first login
# e.g. login, then change to whatever else, this also ensures no public hash is available
password = mkDashDefault "firstlogin";