made module categories

This commit is contained in:
Moritz Böhme 2021-09-14 20:55:50 +02:00
parent 8acff72cca
commit 7b5e0d34e7
30 changed files with 51 additions and 24 deletions

15
modules/apps/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
imports = [
./rofi
./kitty.nix
./zathura.nix
];
home-manager.users.moritz.home.packages = with pkgs; [
neofetch
keepassxc
spotify
spicetify-cli
];
}

9
modules/cli/default.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
imports = [
./git.nix
./nix.nix
./zsh.nix
];
}

View file

@ -2,19 +2,10 @@
{ {
imports = [ imports = [
./bspwm ./apps
./dunst ./cli
./emacs ./desktop
./polybar ./services
./rofi
./agenix.nix
./diskstation.nix
./git.nix
./kitty.nix
./picom.nix
./zathura.nix
./zsh.nix
./nix.nix
]; ];
# USERS # USERS
@ -44,17 +35,6 @@
home.username = "moritz"; home.username = "moritz";
home.homeDirectory = "/home/moritz"; home.homeDirectory = "/home/moritz";
services = {
kdeconnect.enable = true;
};
home.packages = with pkgs; [
neofetch
keepassxc
spotify
spicetify-cli
];
home.stateVersion = "21.05"; home.stateVersion = "21.05";
}; };
} }

View file

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 340 KiB

View file

@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
imports = [
./bspwm
./polybar
];
}

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
imports = [
./dunst
./emacs
./agenix.nix
./diskstation.nix
./picom.nix
];
home-manager.users.moritz.services = {
kdeconnect.enable = true;
};
}