dotfiles/modules/default.nix

61 lines
1.1 KiB
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ lib, pkgs, ... }:
2021-09-08 19:43:08 +02:00
{
2021-09-09 21:55:28 +02:00
imports = [
./bspwm
./dunst
./emacs
./polybar
2021-09-10 11:16:30 +02:00
./rofi
2021-09-14 13:12:34 +02:00
./agenix.nix
2021-09-14 14:23:16 +02:00
./diskstation.nix
2021-09-09 21:55:28 +02:00
./git.nix
./kitty.nix
./picom.nix
./zathura.nix
./zsh.nix
2021-09-11 13:18:27 +02:00
./nix.nix
2021-09-09 21:55:28 +02:00
];
2021-09-10 08:59:21 +02:00
# USERS
users.users.moritz = {
shell = pkgs.zsh;
isNormalUser = true;
home = "/home/moritz";
extraGroups = [ "wheel" "networkmanager" "video" ]; # Enable sudo for the user.
};
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono"];})
];
# PACKAGES
environment.systemPackages = with pkgs; [
vim
wget
firefox
];
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-09-09 21:55:28 +02:00
services = {
kdeconnect.enable = true;
2021-09-08 19:43:08 +02:00
};
2021-09-09 21:55:28 +02:00
home.packages = with pkgs; [
neofetch
keepassxc
2021-09-10 11:16:30 +02:00
spotify
spicetify-cli
2021-09-08 19:43:08 +02:00
];
2021-09-09 21:55:28 +02:00
home.stateVersion = "21.05";
};
2021-09-08 19:43:08 +02:00
}