2023-11-04 16:12:45 +05:30
|
|
|
{ pkgs, ... }: {
|
2023-03-15 22:11:59 +05:30
|
|
|
imports = [
|
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
|
2023-07-20 20:40:19 +05:30
|
|
|
./network.nix
|
2023-03-15 22:11:59 +05:30
|
|
|
./persistence.nix
|
|
|
|
./plymouth.nix
|
2023-04-26 22:57:32 +05:30
|
|
|
./rollback.nix
|
2023-03-15 22:11:59 +05:30
|
|
|
./secureboot.nix
|
2023-04-07 20:55:19 +05:30
|
|
|
./security.nix
|
2023-03-15 22:11:59 +05:30
|
|
|
./virtualisation.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
console.useXkbConfig = true;
|
|
|
|
|
2023-03-28 19:31:00 +05:30
|
|
|
environment.sessionVariables = {
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
};
|
|
|
|
|
2023-04-07 19:53:00 +05:30
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
2023-07-28 09:33:45 +05:30
|
|
|
packages = with pkgs; [
|
2023-04-07 19:53:00 +05:30
|
|
|
cantarell-fonts
|
|
|
|
liberation_ttf
|
2023-11-04 16:12:45 +05:30
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
2023-04-07 19:53:00 +05:30
|
|
|
noto-fonts
|
|
|
|
noto-fonts-cjk
|
|
|
|
noto-fonts-emoji
|
2023-11-08 20:36:52 +05:30
|
|
|
smc-manjari
|
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 = {
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
extraLocaleSettings = {
|
|
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
|
|
LC_NAME = "en_US.UTF-8";
|
|
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
|
|
LC_PAPER = "en_US.UTF-8";
|
|
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
|
|
LC_TIME = "en_US.UTF-8";
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
};
|
2023-11-04 16:12:45 +05:30
|
|
|
supportedLocales = [ "en_US.UTF-8/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
|
|
|
sound.enable = true;
|
|
|
|
time.timeZone = "Asia/Kolkata";
|
|
|
|
|
2023-04-07 19:53:00 +05:30
|
|
|
xdg.portal = {
|
2023-04-07 20:47:01 +05:30
|
|
|
enable = true;
|
2023-11-04 16:12:45 +05:30
|
|
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
|
2023-11-25 17:00:58 +05:30
|
|
|
config = {
|
|
|
|
common = {
|
|
|
|
default = [ "gtk" ];
|
|
|
|
};
|
2023-11-25 17:43:39 +05:30
|
|
|
hyprland = {
|
2023-11-25 17:00:58 +05:30
|
|
|
default = [ "hyprland" "gtk" ];
|
|
|
|
};
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
2023-06-02 11:28:54 +05:30
|
|
|
system.stateVersion = "23.11";
|
2023-03-15 22:11:59 +05:30
|
|
|
}
|