2023-08-05 00:17:41 +05:30
|
|
|
{ config, lib, pkgs, stdenv, fetchurl, python3Packages, nix-doom-emacs, stylix, username, email, dotfilesDir, theme, wm, browser, editor, spawnEditor, term, ... }:
|
2023-06-21 20:03:51 +05:30
|
|
|
|
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the paths it should
|
|
|
|
# manage.
|
2023-06-23 01:23:10 +05:30
|
|
|
home.username = username;
|
|
|
|
home.homeDirectory = "/home/"+username;
|
2023-06-21 20:03:51 +05:30
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
nix-doom-emacs.hmModule
|
|
|
|
stylix.homeManagerModules.stylix
|
2023-06-23 01:23:10 +05:30
|
|
|
(./. + "../../../user/wm"+("/"+wm+"/"+wm)+".nix") # My window manager selected from flake
|
2023-06-21 20:03:51 +05:30
|
|
|
../../user/shell/sh.nix # My zsh and bash config
|
|
|
|
../../user/shell/cli-collection.nix # Useful CLI apps
|
|
|
|
../../user/bin/phoenix.nix # My nix command wrapper
|
|
|
|
../../user/app/doom-emacs/doom.nix # My doom emacs config
|
|
|
|
../../user/app/ranger/ranger.nix # My ranger file manager config
|
|
|
|
../../user/app/git/git.nix # My git config
|
|
|
|
../../user/app/keepass/keepass.nix # My password manager
|
2023-06-23 02:18:09 +05:30
|
|
|
(./. + "../../../user/app/browser"+("/"+browser)+".nix") # My default browser selected from flake
|
2023-06-21 20:03:51 +05:30
|
|
|
../../user/app/virtualization/virtualization.nix # Virtual machines
|
|
|
|
../../user/app/flatpak/flatpak.nix # Flatpaks
|
|
|
|
../../user/style/stylix.nix # Styling and themes for my apps
|
|
|
|
../../user/lang/cc/cc.nix # C and C++ tools
|
|
|
|
../../user/lang/godot/godot.nix # Game development
|
2023-08-05 00:17:41 +05:30
|
|
|
../../user/pkgs/blockbench.nix # Blockbench
|
2023-06-21 20:03:51 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
home.stateVersion = "22.11"; # Please read the comment before changing.
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# Core
|
|
|
|
zsh
|
|
|
|
alacritty
|
|
|
|
librewolf
|
|
|
|
brave
|
|
|
|
dmenu
|
|
|
|
rofi
|
|
|
|
git
|
|
|
|
syncthing
|
|
|
|
|
|
|
|
# Office
|
2023-07-28 22:56:14 +05:30
|
|
|
libreoffice-fresh-unwrapped
|
2023-06-21 20:03:51 +05:30
|
|
|
mate.atril
|
|
|
|
xournalpp
|
|
|
|
glib
|
|
|
|
gnome.geary
|
|
|
|
gnome.gnome-calendar
|
|
|
|
gnome.seahorse
|
|
|
|
gnome.gnome-maps
|
|
|
|
openvpn
|
2023-06-27 19:52:02 +05:30
|
|
|
protonmail-bridge
|
2023-06-21 20:03:51 +05:30
|
|
|
|
|
|
|
# Media
|
|
|
|
gimp-with-plugins
|
|
|
|
krita
|
|
|
|
musikcube
|
|
|
|
vlc
|
|
|
|
mpv
|
|
|
|
yt-dlp
|
|
|
|
freetube
|
|
|
|
blender
|
2023-07-28 03:30:49 +05:30
|
|
|
blockbench-electron
|
2023-06-21 20:03:51 +05:30
|
|
|
obs-studio
|
|
|
|
libsForQt5.kdenlive
|
|
|
|
movit
|
|
|
|
mediainfo
|
|
|
|
libmediainfo
|
|
|
|
mediainfo-gui
|
|
|
|
audio-recorder
|
|
|
|
|
|
|
|
# Various dev packages
|
|
|
|
texinfo
|
|
|
|
libffi zlib
|
|
|
|
nodePackages.ungit
|
|
|
|
];
|
|
|
|
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
|
|
|
|
xdg.enable = true;
|
|
|
|
xdg.userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
music = "${config.home.homeDirectory}/Media/Music";
|
|
|
|
videos = "${config.home.homeDirectory}/Media/Videos";
|
|
|
|
pictures = "${config.home.homeDirectory}/Media/Pictures";
|
|
|
|
templates = "${config.home.homeDirectory}/Templates";
|
|
|
|
download = "${config.home.homeDirectory}/Downloads";
|
|
|
|
documents = "${config.home.homeDirectory}/Documents";
|
|
|
|
desktop = null;
|
|
|
|
publicShare = null;
|
|
|
|
extraConfig = {
|
|
|
|
XDG_DOTFILES_DIR = "${config.home.homeDirectory}/.dotfiles";
|
|
|
|
XDG_ARCHIVE_DIR = "${config.home.homeDirectory}/Archive";
|
|
|
|
XDG_VM_DIR = "${config.home.homeDirectory}/Machines";
|
|
|
|
XDG_ORG_DIR = "${config.home.homeDirectory}/Org";
|
|
|
|
XDG_PODCAST_DIR = "${config.home.homeDirectory}/Media/Podcasts";
|
|
|
|
XDG_BOOK_DIR = "${config.home.homeDirectory}/Media/Books";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
xdg.mime.enable = true;
|
|
|
|
xdg.mimeApps.enable = true;
|
|
|
|
|
2023-06-23 02:18:09 +05:30
|
|
|
home.sessionVariables = {
|
|
|
|
EDITOR = editor;
|
|
|
|
SPAWNEDITOR = spawnEditor;
|
|
|
|
TERM = term;
|
|
|
|
BROWSER = browser;
|
|
|
|
};
|
|
|
|
|
2023-06-21 20:03:51 +05:30
|
|
|
}
|