home: refactor common files
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -14,8 +14,7 @@
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./natto/emacs.nix
 | 
			
		||||
   # ./natto/wayland.nix
 | 
			
		||||
     ./programs/emacs
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  xdg.mime.enable = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,9 @@
 | 
			
		||||
{ self, inputs, globalArgs, ... }:
 | 
			
		||||
let
 | 
			
		||||
  common = [
 | 
			
		||||
    ./common/zsh.nix
 | 
			
		||||
    ./common/programs.nix
 | 
			
		||||
    { programs.home-manager.enable = true; }
 | 
			
		||||
    ./common/zsh
 | 
			
		||||
    ./common/direnv
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  mkPkgs = system: import inputs.nixpkgs {
 | 
			
		||||
@@ -23,7 +24,8 @@ in
 | 
			
		||||
 | 
			
		||||
      nattoModules = [
 | 
			
		||||
        ./natto
 | 
			
		||||
        ./modules/fonts
 | 
			
		||||
        ./common/fonts
 | 
			
		||||
        ./common/emacs
 | 
			
		||||
        ./common/laptop.nix
 | 
			
		||||
        inputs.agenix.homeManagerModules.default
 | 
			
		||||
      ] ++ common;
 | 
			
		||||
 
 | 
			
		||||
@@ -37,33 +37,6 @@
 | 
			
		||||
    dunst
 | 
			
		||||
    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
 | 
			
		||||
    anki
 | 
			
		||||
    tor-browser-bundle-bin
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@
 | 
			
		||||
      enable = true;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    password-store.enable = true;
 | 
			
		||||
    go.enable = true;
 | 
			
		||||
    foot = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user