53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ config, pkgs, inputs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ # Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
inputs.home-manager.nixosModules.default
|
||
../../modules/nixos/user.nix
|
||
../../modules/nixos/i3.nix
|
||
../../modules/nixos/nm.nix
|
||
../../modules/nixos/sound.nix
|
||
../../modules/nixos/env.nix
|
||
];
|
||
|
||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||
|
||
boot.loader.grub.enable = true;
|
||
boot.loader.grub.device = "/dev/sda";
|
||
boot.loader.grub.useOSProber = true;
|
||
|
||
networking.hostName = "thinkpad";
|
||
|
||
time.timeZone = "America/Toronto";
|
||
|
||
i18n.defaultLocale = "en_CA.UTF-8";
|
||
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
neovim
|
||
wget
|
||
git
|
||
curl
|
||
];
|
||
|
||
home-manager = {
|
||
extraSpecialArgs = { inherit inputs; };
|
||
useGlobalPkgs = true;
|
||
useUserPackages = true;
|
||
users = {
|
||
mthomson = import ./home.nix;
|
||
};
|
||
};
|
||
|
||
system.stateVersion = "23.11";
|
||
}
|