configuration.nix/hosts/skipper/default.nix

73 lines
1.4 KiB
Nix
Raw Normal View History

2024-06-12 22:09:26 +05:30
{ pkgs, ... }: {
2023-03-15 22:11:59 +05:30
imports = [
2024-07-01 00:01:41 +05:30
./boot
2023-04-04 09:17:30 +05:30
./hardware
2023-04-07 20:36:59 +05:30
./programs
2023-04-07 20:47:01 +05:30
./services
2024-06-30 23:46:34 +05:30
./network
./persistence
./virtualisation
2023-04-07 20:55:19 +05:30
./security.nix
2023-03-15 22:11:59 +05:30
];
console.useXkbConfig = true;
2024-06-22 21:48:08 +05:30
environment.sessionVariables = {
VDPAU_DRIVER = "va_gl";
2024-07-27 17:34:59 +05:30
NIXOS_OZONE_WL = 1;
2024-06-22 21:48:08 +05:30
};
2023-04-07 19:53:00 +05:30
fonts = {
2024-06-12 22:09:26 +05:30
packages = with pkgs; [
2023-04-07 19:53:00 +05:30
cantarell-fonts
2024-06-12 23:19:48 +05:30
dejavu_fonts
2024-06-14 20:27:37 +05:30
liberation_ttf
2023-04-07 19:53:00 +05:30
noto-fonts-cjk
noto-fonts-emoji
2024-06-12 22:09:26 +05:30
smc-chilanka
2024-06-14 20:27:37 +05:30
(nerdfonts.override { fonts = [ "FiraCode" ]; })
2024-06-12 22:09:26 +05:30
];
2023-04-07 19:53:00 +05:30
};
2023-05-01 14:31:18 +05:30
gtk.iconCache.enable = true;
2023-03-15 22:11:59 +05:30
i18n = {
2024-04-12 22:53:30 +05:30
defaultLocale = "en_IN.UTF-8";
2023-03-15 22:11:59 +05:30
extraLocaleSettings = {
2024-04-12 22:53:30 +05:30
LC_ADDRESS = "en_IN.UTF-8";
LC_IDENTIFICATION = "en_IN.UTF-8";
LC_MEASUREMENT = "en_IN.UTF-8";
LC_MONETARY = "en_IN.UTF-8";
LC_NAME = "en_IN.UTF-8";
LC_NUMERIC = "en_IN.UTF-8";
LC_PAPER = "en_IN.UTF-8";
LC_TELEPHONE = "en_IN.UTF-8";
LC_TIME = "en_IN.UTF-8";
LC_ALL = "en_IN.UTF-8";
2023-03-15 22:11:59 +05:30
};
2024-04-12 22:53:30 +05:30
supportedLocales = [ "en_IN/UTF-8" "en_US.UTF-8/UTF-8" "ml_IN/UTF-8" ];
2023-03-15 22:11:59 +05:30
};
2023-11-07 13:48:37 +05:30
services.xserver.xkb = {
layout = "us";
options = "rupeesign:4";
variant = "altgr-intl";
};
2023-03-15 22:11:59 +05:30
time.timeZone = "Asia/Kolkata";
2023-04-07 19:53:00 +05:30
xdg.portal = {
2023-04-07 20:47:01 +05:30
enable = true;
2024-02-18 15:32:45 +05:30
xdgOpenUsePortal = true;
2024-02-17 16:28:05 +05:30
config.common.default = [ "gtk" ];
2023-03-15 22:11:59 +05:30
};
2024-06-20 00:25:52 +05:30
system = {
switch = {
enable = false;
enableNg = true;
};
stateVersion = "23.11";
};
2023-03-15 22:11:59 +05:30
}