Files
nix-config/modules/nixos/desktop/misc.nix
Ryan Yin 9aa0ff80ae feat: update flake.lock
fix: issues introduced by the update
chore: --use-remote-sudo is deprecated, use --sudo instead
2025-06-23 15:27:18 +08:00

51 lines
1.1 KiB
Nix

{
config,
lib,
pkgs,
pkgs-unstable,
...
}: {
services.flatpak.enable = true;
# add user's shell into /etc/shells
environment.shells = with pkgs; [
bashInteractive
pkgs-unstable.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;
environment.variables = {
# fix https://github.com/NixOS/nixpkgs/issues/238025
TZ = "${config.time.timeZone}";
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
gnumake
];
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.xfce; [
thunar-archive-plugin
thunar-volman
];
};
};
}