Skip to content

Commit

Permalink
feat: make boot quiet, stop job timeout shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Jun 13, 2024
1 parent 984b1d9 commit 37d9a15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
6 changes: 0 additions & 6 deletions home-manager/modules/vm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,6 @@ in

services.poweralertd.enable = true;

services.wlsunset = {
enable = true;
latitude = toString 48.8;
longitude = toString 2.3;
};

services.darkman = {
enable = true;
settings.usegeoclue = true;
Expand Down
15 changes: 12 additions & 3 deletions nixos/profiles/laptop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ with lib;
};

boot = {
kernelParams = [ "quiet" ];

kernelPackages = upkgs.linuxKernel.packages.linux_zen;
extraModulePackages = with config.boot.kernelPackages; [ apfs perf xone ];

Expand All @@ -44,12 +46,17 @@ with lib;
binfmt.emulatedSystems = [ "aarch64-linux" ];
};

# Once in a while, the session stop job hangs and lasts the full default
# time (1min30). I just want to shutdown my computer please.
systemd.extraConfig = ''
DefaultTimeoutStopSec = 10s
'';

programs.dconf.enable = true;

time.timeZone = "Europe/Paris";

# TODO: activate when it lands on stable
# services.ntpd-rs.enable = true;
services.ntpd-rs.enable = true;

i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
Expand Down Expand Up @@ -93,7 +100,7 @@ with lib;
enable = true;
package = pkgs.wireshark;
};
users.users.${config.local.user.username}.extraGroups = [ "wireshark" ];
users.users.${config.local.user.username}.extraGroups = [ "wireshark" "plugdev" ];

# This option is already filled with aliases that snowball and have
# priority on fish internal `ls` aliases
Expand All @@ -106,6 +113,8 @@ with lib;
probe-rs-udev-rules
];

users.groups.plugdev.name = "plugdev";

services.devmon.enable = true;

services.gvfs.enable = true;
Expand Down

0 comments on commit 37d9a15

Please sign in to comment.