Files
nix-config/modules/nixos/desktop/misc.nix
T
ryan4yin | 二花 ce416240b2 fix: avoid mkForce for allowUnfree and boot timeout (#355)
Let hosts override these again and drop the forced priorities.
2026-10-03 10:14:50 +08:00

47 lines
1.1 KiB
Nix

{
lib,
pkgs,
...
}:
{
# Normal priority on purpose: it must beat the base module's
# `lib.mkDefault 8` without forcing (two mkDefault definitions would conflict).
boot.loader.timeout = 10; # wait for x seconds to select the boot entry
# add user's shell into /etc/shells
environment.shells = with pkgs; [
bashInteractive
nushell
];
# set user's default shell system-wide
users.defaultUserShell = pkgs.bashInteractive;
# fix for `sudo xxx` in kitty/ghostty and other modern terminal emulators
security.sudo.keepTerminfo = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
wl-clipboard
];
services = {
gvfs.enable = true; # Mount, trash, and other functionalities
tumbler.enable = true; # Thumbnail support for images
};
programs = {
# dconf is a low-level configuration system.
dconf.enable = true;
# thunar file manager(part of xfce) related options
thunar = {
enable = true;
plugins = with pkgs; [
thunar-archive-plugin
thunar-volman
];
};
};
}