2024-01-30 14:21:50 +00:00
|
|
|
{pkgs, ...}: {
|
2024-02-25 07:39:37 +00:00
|
|
|
imports = [./registry.nix ./stylix.nix];
|
2024-02-25 06:32:13 +00:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
networking = {
|
|
|
|
networkmanager.enable = true;
|
2024-02-25 06:32:13 +00:00
|
|
|
firewall.enable = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
nameservers = ["9.9.9.9"];
|
2023-10-09 11:40:25 +01:00
|
|
|
};
|
|
|
|
environment = {
|
2024-03-08 08:10:36 +00:00
|
|
|
sessionVariables = {
|
|
|
|
XDG_CONFIG_HOME = "$HOME/.config";
|
|
|
|
XDG_CACHE_HOME = "$HOME/.cache";
|
|
|
|
XDG_DATA_HOME = "$HOME/.local/share";
|
|
|
|
XDG_STATE_HOME = "$HOME/.local/state";
|
|
|
|
};
|
2023-12-12 06:31:18 +00:00
|
|
|
systemPackages = with pkgs; [
|
|
|
|
coreutils
|
|
|
|
libsecret
|
|
|
|
gnumake
|
2024-01-12 08:19:20 +00:00
|
|
|
git
|
2024-01-14 12:54:45 +00:00
|
|
|
git-sync
|
2024-01-12 08:19:20 +00:00
|
|
|
pinentry
|
2023-12-12 06:31:18 +00:00
|
|
|
zip
|
|
|
|
unzip
|
2023-12-16 22:47:32 +00:00
|
|
|
fd
|
|
|
|
ripgrep
|
2024-01-03 19:19:58 +00:00
|
|
|
rclone
|
2024-02-20 15:36:16 +00:00
|
|
|
wireguard-tools
|
2023-12-27 15:44:01 +00:00
|
|
|
dogdns
|
2023-12-16 22:47:32 +00:00
|
|
|
du-dust
|
2023-12-27 10:17:39 +00:00
|
|
|
ffmpeg
|
2023-12-16 22:47:32 +00:00
|
|
|
nitch
|
2023-12-17 18:32:56 +00:00
|
|
|
bottom
|
2023-12-12 06:31:18 +00:00
|
|
|
];
|
2023-10-09 11:40:25 +01:00
|
|
|
localBinInPath = true;
|
|
|
|
};
|
|
|
|
console.keyMap = "uk";
|
2024-02-25 06:32:13 +00:00
|
|
|
programs = {
|
|
|
|
command-not-found.enable = false;
|
|
|
|
ssh.startAgent = true;
|
|
|
|
nano = {
|
|
|
|
enable = true;
|
|
|
|
syntaxHighlight = true;
|
|
|
|
nanorc = ''
|
|
|
|
set nowrap
|
|
|
|
set tabstospaces
|
|
|
|
set tabsize 2
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2023-10-11 08:28:27 +01:00
|
|
|
services = {
|
2024-01-21 14:10:14 +00:00
|
|
|
passSecretService.enable = true;
|
2023-10-11 08:28:27 +01:00
|
|
|
upower.enable = true;
|
|
|
|
power-profiles-daemon.enable = true;
|
2023-10-20 22:33:34 +01:00
|
|
|
system76-scheduler = {
|
|
|
|
enable = true;
|
|
|
|
useStockConfig = true;
|
|
|
|
};
|
2023-10-11 08:28:27 +01:00
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
virtualisation.podman.enable = true;
|
|
|
|
time.timeZone = "Europe/London";
|
2024-01-30 14:21:50 +00:00
|
|
|
i18n = let
|
|
|
|
locale = "en_GB.UTF-8";
|
2023-10-09 11:40:25 +01:00
|
|
|
in {
|
|
|
|
# Select internationalisation properties.
|
|
|
|
defaultLocale = locale;
|
|
|
|
extraLocaleSettings = {
|
|
|
|
LC_ADDRESS = locale;
|
|
|
|
LC_IDENTIFICATION = locale;
|
|
|
|
LC_MEASUREMENT = locale;
|
|
|
|
LC_MONETARY = locale;
|
|
|
|
LC_NAME = locale;
|
|
|
|
LC_NUMERIC = locale;
|
|
|
|
LC_PAPER = locale;
|
|
|
|
LC_TELEPHONE = locale;
|
|
|
|
LC_TIME = locale;
|
|
|
|
};
|
|
|
|
};
|
2024-02-25 06:32:13 +00:00
|
|
|
fonts = {
|
|
|
|
packages = with pkgs; [
|
2024-03-02 13:44:20 +00:00
|
|
|
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
|
2024-02-25 06:32:13 +00:00
|
|
|
emacs-all-the-icons-fonts
|
|
|
|
weather-icons
|
|
|
|
];
|
|
|
|
fontconfig.enable = true;
|
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
}
|