nixos-configs/nixos/configuration.nix

60 lines
1.7 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
2023-06-20 09:35:36 -04:00
./overlays/list.nix
2023-06-19 01:36:50 -04:00
./cfg/boot.nix
./cfg/security.nix
./cfg/extra-hardware.nix
2023-06-20 09:35:36 -04:00
./cfg/services.nix
./cfg/packages.nix
2023-06-19 19:27:38 -04:00
./cfg/home-manager.nix
];
networking.hostName = "wim";
networking.networkmanager.enable = true;
networking.networkmanager.wifi.backend = "iwd";
# Set your time zone.
2023-06-20 09:35:36 -04:00
#time.timeZone = "America/Montreal";
time.timeZone = "Europe/Paris";
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
console = {
#font = "Lat2-Terminus16";
keyMap = "ca";
#useXkbConfig = true; # use xkbOptions in tty.
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
# TODO: see if setting them in Hyprland.nix works
environment.sessionVariables = {
GTK_THEME = "Lavanda-Dark";
QT_QPA_PLATFORMTHEME = "qt5ct";
QT_STYLE_OVERRIDE = "kvantum";
QT_FONT_DPI = "125";
};
environment.variables = {
GTK_THEME = "Lavanda-Dark";
QT_QPA_PLATFORMTHEME = "qt5ct";
QT_STYLE_OVERRIDE = "kvantum";
QT_FONT_DPI = "125";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
}