dotfiles/modules/default.nix
2022-01-21 22:08:36 +01:00

51 lines
1.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, pkgs, ... }:
{
imports =
[ ./cachix.nix ./cli ./desktop ./editors ./services ./security.nix ];
# USERS
users.users.moritz = {
isNormalUser = true;
home = "/home/moritz";
extraGroups =
[ "wheel" "networkmanager" "video" ]; # Enable sudo for the user.
initialPassword = "password"; # CHANGE ME PLEASE
};
fonts.fonts = with pkgs;
[
(nerdfonts.override {
fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ];
})
];
time.timeZone = "Europe/Berlin";
# PACKAGES
environment.systemPackages = with pkgs; [ vim wget firefox git ];
programs.mtr.enable = true;
home-manager.users.moritz = {
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# paths it should manage.
home.username = "moritz";
home.homeDirectory = "/home/moritz";
xdg.userDirs = {
enable = true;
createDirectories = true;
};
home.language = {
base = "en_US.UTF-8";
time = "de_DE.UTF-8";
numeric = "de_DE.UTF-8";
paper = "de_DE.UTF-8";
};
home.stateVersion = "21.05";
};
}