forest/common/generic-desktop.nix

34 lines
772 B
Nix
Raw Normal View History

2023-10-02 17:47:47 +00:00
{ config, pkgs, ... }: {
services.flatpak.enable = true;
2024-02-23 10:43:50 +00:00
networking.networkmanager.enable = true;
2023-10-02 17:47:47 +00:00
services.resolved.enable = true;
services.avahi = {
enable = true;
openFirewall = true;
};
2024-08-06 12:39:18 +00:00
users.users.ash.extraGroups = [ "networkmanager" ];
2023-10-02 17:47:47 +00:00
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.utf8";
boot.plymouth = {
enable = true;
2024-07-23 07:05:56 +00:00
themePackages = [(pkgs.catppuccin.override { variant = "mocha"; accent = "mauve"; })];
theme = "catppuccin-mocha";
2023-10-02 17:47:47 +00:00
};
boot.initrd.systemd.enable = true;
2024-01-10 20:30:37 +00:00
security.pam.services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
2024-01-10 20:30:37 +00:00
programs.adb.enable = true;
2024-06-28 15:09:05 +00:00
fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
maple-mono-NF
];
2023-10-02 17:47:47 +00:00
}