2021-09-09 21:55:28 +02:00
|
|
|
|
{ lib, pkgs, ... }:
|
2021-09-08 19:43:08 +02:00
|
|
|
|
|
|
|
|
|
{
|
2021-11-18 17:49:00 +01:00
|
|
|
|
imports = [ ./cachix.nix ./cli ./desktop ./editors ./services ];
|
2021-09-10 08:59:21 +02:00
|
|
|
|
|
|
|
|
|
# USERS
|
|
|
|
|
users.users.moritz = {
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
home = "/home/moritz";
|
2021-09-30 19:41:08 +02:00
|
|
|
|
extraGroups =
|
|
|
|
|
[ "wheel" "networkmanager" "video" ]; # Enable ‘sudo’ for the user.
|
2021-10-24 17:13:19 +02:00
|
|
|
|
initialPassword = "password"; # CHANGE ME PLEASE
|
2021-09-10 08:59:21 +02:00
|
|
|
|
};
|
|
|
|
|
|
2021-09-30 19:41:08 +02:00
|
|
|
|
fonts.fonts = with pkgs;
|
|
|
|
|
[
|
|
|
|
|
(nerdfonts.override {
|
|
|
|
|
fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ];
|
|
|
|
|
})
|
|
|
|
|
];
|
2021-09-10 08:59:21 +02:00
|
|
|
|
|
2021-09-29 13:06:28 +02:00
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
2021-09-10 08:59:21 +02:00
|
|
|
|
# PACKAGES
|
2021-09-30 19:41:08 +02:00
|
|
|
|
environment.systemPackages = with pkgs; [ vim wget firefox ];
|
2021-09-10 08:59:21 +02:00
|
|
|
|
|
2021-09-09 21:55:28 +02:00
|
|
|
|
home-manager.users.moritz = {
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
|
programs.home-manager.enable = true;
|
2021-09-08 19:43:08 +02:00
|
|
|
|
|
2021-09-09 21:55:28 +02:00
|
|
|
|
# paths it should manage.
|
|
|
|
|
home.username = "moritz";
|
|
|
|
|
home.homeDirectory = "/home/moritz";
|
2021-09-08 19:43:08 +02:00
|
|
|
|
|
2021-10-06 17:37:15 +02:00
|
|
|
|
home.sessionPath = [ "/home/moritz/bin" ];
|
|
|
|
|
home.file."bin" = {
|
|
|
|
|
recursive = true;
|
|
|
|
|
source = ../bin;
|
|
|
|
|
};
|
|
|
|
|
|
2021-10-03 12:30:56 +02:00
|
|
|
|
xdg.userDirs = {
|
|
|
|
|
enable = true;
|
|
|
|
|
createDirectories = true;
|
|
|
|
|
};
|
|
|
|
|
|
2021-10-08 21:00:22 +02:00
|
|
|
|
home.language = {
|
|
|
|
|
base = "en_US.UTF-8";
|
|
|
|
|
time = "de_DE.UTF-8";
|
|
|
|
|
numeric = "de_DE.UTF-8";
|
|
|
|
|
paper = "de_DE.UTF-8";
|
|
|
|
|
};
|
|
|
|
|
|
2021-09-09 21:55:28 +02:00
|
|
|
|
home.stateVersion = "21.05";
|
|
|
|
|
};
|
2021-09-08 19:43:08 +02:00
|
|
|
|
}
|