2023-10-02 17:47:47 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2023-10-06 15:38:07 +00:00
|
|
|
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
|
|
|
};
|
2023-11-18 18:29:42 +00:00
|
|
|
boot.initrd.systemd.enable = true;
|
2024-01-10 20:30:37 +00:00
|
|
|
|
2024-03-09 14:06:11 +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
|
2024-10-07 23:47:43 +00:00
|
|
|
atkinson-hyperlegible
|
2024-10-24 11:55:43 +00:00
|
|
|
liberation_ttf
|
|
|
|
ocr-a
|
|
|
|
(pkgs.stdenv.mkDerivation {
|
|
|
|
pname = "libre-barcode";
|
|
|
|
version = "1.008";
|
|
|
|
src = pkgs.fetchzip {
|
|
|
|
url = "https://github.com/graphicore/librebarcode/releases/download/v1.008/LibreBarcode_v1.008.zip";
|
|
|
|
hash = "sha256-2Tqpjb+wBrfawgdRdrL+rfJeYLsnwMhfDkwIBt2HWkE=";
|
|
|
|
};
|
|
|
|
installPhase = ''
|
|
|
|
install -D -m 0644 $src/LibreBarcode39-Regular.ttf $out/share/fonts/truetype/LibreBarcode39-Regular.ttf
|
|
|
|
'';
|
|
|
|
})
|
2024-06-28 15:09:05 +00:00
|
|
|
];
|
2023-10-02 17:47:47 +00:00
|
|
|
}
|