Improve modularity

This commit is contained in:
Isshi0417 2024-07-11 14:12:37 +09:00
parent b0098b8112
commit 6a8f352a75
4 changed files with 33 additions and 29 deletions

View File

@ -6,11 +6,6 @@
../../modules/home-manager
];
# Allow Unfree
nixpkgs.config.allowUnfree = true;
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "shoi";
home.homeDirectory = "/home/shoi";
@ -23,39 +18,18 @@
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
# Essentials
firefox
ferdium
git
gh
# School
libreoffice-fresh
onedrive
typora
logisim
pandoc
aspell
aspellDicts.en
aspellDicts.en-computers
# For funsies
spotify
vesktop
# Other utility
corefonts
noto-fonts
mullvad-vpn
transmission_4-gtk
imagemagick
];
programs.kitty.enable = true;
# Enable sound control
services.easyeffects.enable = true;
# Home Manager is pretty good at managing dotfiles. The primary way to manage

View File

@ -1,10 +1,32 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
./git
./ricing/catppuccin
./shell
./vscode
./terminal
];
# Allow Unfree
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
# Essentials
firefox
ferdium
git
gh
# School
libreoffice-fresh
onedrive
typora
logisim
pandoc
# Utils
corefonts
noto-fonts
];
}

View File

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./shell
];
programs.kitty.enable = true;
}