This repository has been archived on 2023-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
nixos/configuration.nix
2023-09-02 19:24:36 +02:00

51 lines
1,016 B
Nix

{ config, pkgs, ... }:
let
stateVersion = "23.05";
in
{
imports =
[
./hardware-configuration.nix
<home-manager/nixos>
];
boot.loader.systemd-boot.enable = true;
networking.hostName = "x260";
time.timeZone = "Europe/Amsterdam";
i18n.defaultLocale = "en_US.UTF-8";
services.xserver = {
enable = true;
displayManager.gdm = {
enable = true;
settings = {
daemon = {
AutomaticLoginEnable = true;
AutomaticLogin = "pim";
};
};
};
desktopManager.gnome.enable = true;
excludePackages = with pkgs; [ xterm ];
};
home-manager.users.pim = import ./home.nix {inherit pkgs stateVersion; };
users.users.pim = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
environment = {
systemPackages = with pkgs; [
vim
wget
curl
git
btop
];
gnome.excludePackages = with pkgs; [ gnome-tour gnome.epiphany gnome.geary ];
};
system.stateVersion = stateVersion;
}