Files
nix-config/modules/nixos/desktop/misc.nix

46 lines
1.0 KiB
Nix

{
lib,
pkgs,
...
}:
{
boot.loader.timeout = lib.mkForce 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/wezterm/foot 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; [
gnumake
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
];
};
};
}