2023-06-13 23:34:03 -04:00
|
|
|
{ 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-24 04:59:54 -04:00
|
|
|
./cfg/main.nix
|
|
|
|
./home/main.nix
|
2023-06-13 23:34:03 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "wim";
|
|
|
|
networking.networkmanager.enable = true;
|
2023-09-05 13:27:23 -04:00
|
|
|
networking.networkmanager.wifi.backend = "wpa_supplicant";
|
2023-06-13 23:34:03 -04:00
|
|
|
|
|
|
|
# Set your time zone.
|
2023-07-02 21:03:44 -04:00
|
|
|
time.timeZone = "America/Montreal";
|
2023-06-13 23:34:03 -04:00
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_CA.UTF-8";
|
|
|
|
console = {
|
|
|
|
#font = "Lat2-Terminus16";
|
|
|
|
keyMap = "ca";
|
|
|
|
#useXkbConfig = true; # use xkbOptions in tty.
|
|
|
|
};
|
2023-06-15 17:03:09 -04:00
|
|
|
|
2023-06-13 23:34:03 -04:00
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
2023-07-06 16:13:25 -04:00
|
|
|
NIXPKGS_ALLOW_UNFREE = "1";
|
2023-07-09 13:08:30 -04:00
|
|
|
GTK_THEME = "Dracula";
|
2023-06-13 23:34:03 -04:00
|
|
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
|
|
QT_FONT_DPI = "125";
|
|
|
|
};
|
2023-08-09 22:10:16 -04:00
|
|
|
|
|
|
|
system.autoUpgrade.channel = "https://nixos.org/channels/nixos-unstable";
|
|
|
|
|
2023-06-13 23:34:03 -04:00
|
|
|
# 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?
|
|
|
|
|
|
|
|
}
|