mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
Fixed homelab configuration files
This commit is contained in:
parent
19ecc74acd
commit
1a4983fdeb
|
@ -1,7 +1,5 @@
|
||||||
{ config, lib, pkgs, blocklist-hosts, username, hostname, timezone, locale, ... }:
|
{ config, lib, pkgs, blocklist-hosts, username, hostname, timezone, locale, ... }:
|
||||||
|
|
||||||
args@{ ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ ../../system/hardware-configuration.nix
|
[ ../../system/hardware-configuration.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, python3Packages, nix-doom-emacs, stylix, username, email, dotfilesDir, theme, ... }:
|
{ config, lib, pkgs, username, email, dotfilesDir, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
@ -9,22 +9,11 @@
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
nix-doom-emacs.hmModule
|
|
||||||
stylix.homeManagerModules.stylix
|
|
||||||
../../user/wm/xmonad/xmonad.nix # My xmonad config
|
|
||||||
../../user/shell/sh.nix # My zsh and bash config
|
../../user/shell/sh.nix # My zsh and bash config
|
||||||
../../user/shell/cli-collection.nix # Useful CLI apps
|
../../user/shell/cli-collection.nix # Useful CLI apps
|
||||||
../../user/bin/phoenix.nix # My nix command wrapper
|
../../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/ranger/ranger.nix # My ranger file manager config
|
||||||
../../user/app/git/git.nix # My git config
|
../../user/app/git/git.nix # My git config
|
||||||
../../user/app/keepass/keepass.nix # My password manager
|
|
||||||
../../user/app/browser/librewolf.nix # My default browser
|
|
||||||
../../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
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "22.11"; # Please read the comment before changing.
|
home.stateVersion = "22.11"; # Please read the comment before changing.
|
||||||
|
@ -32,73 +21,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Core
|
# Core
|
||||||
zsh
|
zsh
|
||||||
alacritty
|
|
||||||
librewolf
|
|
||||||
brave
|
|
||||||
dmenu
|
|
||||||
rofi
|
|
||||||
git
|
git
|
||||||
syncthing
|
|
||||||
|
|
||||||
# Office
|
|
||||||
libreoffice-qt
|
|
||||||
mate.atril
|
|
||||||
xournalpp
|
|
||||||
glib
|
|
||||||
gnome.geary
|
|
||||||
gnome.gnome-calendar
|
|
||||||
gnome.seahorse
|
|
||||||
gnome.gnome-maps
|
|
||||||
newsflash
|
|
||||||
openvpn
|
|
||||||
|
|
||||||
# Media
|
|
||||||
gimp-with-plugins
|
|
||||||
krita
|
|
||||||
musikcube
|
|
||||||
vlc
|
|
||||||
mpv
|
|
||||||
yt-dlp
|
|
||||||
freetube
|
|
||||||
blender
|
|
||||||
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;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue