home: refactor common files

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 19:15:33 +05:30
parent 43660ff173
commit 87a6c1a862
8 changed files with 7 additions and 32 deletions

View File

@@ -14,8 +14,7 @@
}; };
imports = [ imports = [
./natto/emacs.nix ./programs/emacs
# ./natto/wayland.nix
]; ];
xdg.mime.enable = true; xdg.mime.enable = true;

View File

@@ -1,8 +1,9 @@
{ self, inputs, globalArgs, ... }: { self, inputs, globalArgs, ... }:
let let
common = [ common = [
./common/zsh.nix { programs.home-manager.enable = true; }
./common/programs.nix ./common/zsh
./common/direnv
]; ];
mkPkgs = system: import inputs.nixpkgs { mkPkgs = system: import inputs.nixpkgs {
@@ -23,7 +24,8 @@ in
nattoModules = [ nattoModules = [
./natto ./natto
./modules/fonts ./common/fonts
./common/emacs
./common/laptop.nix ./common/laptop.nix
inputs.agenix.homeManagerModules.default inputs.agenix.homeManagerModules.default
] ++ common; ] ++ common;

View File

@@ -37,33 +37,6 @@
dunst dunst
zenity zenity
# Programming and dev stuff
(texlive.combine {
inherit (texlive)
scheme-small
babel
lm
graphics-def
url
mhchem
wrapfig
capt-of
minted
fvextra
xstring
catchfile
framed
upquote
pdfsync
tocloft
enumitem
multirow
adjustbox
titlesec
tcolorbox;
})
python3Packages.pygments
# Misc # Misc
anki anki
tor-browser-bundle-bin tor-browser-bundle-bin

View File

@@ -25,6 +25,7 @@
enable = true; enable = true;
}; };
password-store.enable = true;
go.enable = true; go.enable = true;
foot = { foot = {
enable = true; enable = true;