Restructure to use proper modules
This commit is contained in:
parent
385be2e0fe
commit
7b19e1b2cc
59 changed files with 748 additions and 599 deletions
54
modules/profiles/home/default.nix
Normal file
54
modules/profiles/home/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
sources = import ../../../nix/sources.nix;
|
||||
stable = import <nixpkgs-stable> {};
|
||||
in {
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
(import ../../../overlays/texlive-tubslatex.nix)
|
||||
];
|
||||
};
|
||||
|
||||
imports = import ../../module-list.nix;
|
||||
|
||||
dadada = {
|
||||
vim.enable = true;
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
gpg.enable = true;
|
||||
gtk.enable = true;
|
||||
keyring.enable = true;
|
||||
kitty.enable = true;
|
||||
session.enable = true;
|
||||
ssh.enable = true;
|
||||
syncthing.enable = true;
|
||||
xdg.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
dadada.session = {
|
||||
sessionVars = {
|
||||
EDITOR = "vim";
|
||||
PAGER = "less";
|
||||
MAILDIR = "\$HOME/.var/mail";
|
||||
MBLAZE = "\$HOME/.config/mblaze";
|
||||
NOTMUCH_CONFIG = "\$HOME/.config/notmuch/config";
|
||||
MOZ_ENABLE_WAYLAND= "1";
|
||||
};
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.packages = import ./pkgs.nix { pkgs = pkgs; };
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "19.09";
|
||||
}
|
83
modules/profiles/home/pkgs.nix
Normal file
83
modules/profiles/home/pkgs.nix
Normal file
|
@ -0,0 +1,83 @@
|
|||
{ pkgs }:
|
||||
with pkgs; [
|
||||
android-studio
|
||||
anki
|
||||
aspell
|
||||
aspellDicts.de
|
||||
aspellDicts.en
|
||||
aspellDicts.en-computers
|
||||
aspellDicts.en-science
|
||||
aqbanking
|
||||
bluez-tools
|
||||
chromium
|
||||
clang
|
||||
clang-tools
|
||||
darcs
|
||||
direnv
|
||||
element-desktop
|
||||
evince
|
||||
ffmpeg
|
||||
file
|
||||
firefox-bin
|
||||
fractal
|
||||
fzf
|
||||
gimp
|
||||
git-lfs
|
||||
gitAndTools.hub
|
||||
gnome3.gnome-tweak-tool
|
||||
gnome3.nautilus
|
||||
gnome3.vinagre
|
||||
gnucash
|
||||
gnumake
|
||||
gnupg
|
||||
graphviz
|
||||
grim
|
||||
imagemagick
|
||||
inkscape
|
||||
inotify-tools
|
||||
jameica
|
||||
jq
|
||||
kcachegrind
|
||||
keepassxc
|
||||
kitty
|
||||
ldns
|
||||
libreoffice
|
||||
libvirt
|
||||
lsof
|
||||
mblaze
|
||||
mkpasswd
|
||||
mpv
|
||||
mumble
|
||||
ncurses
|
||||
nfs-utils
|
||||
niv
|
||||
nmap
|
||||
openssl
|
||||
p7zip
|
||||
pass
|
||||
pavucontrol
|
||||
pinentry-gnome
|
||||
playerctl
|
||||
pwgen
|
||||
python27Packages.dbus-python
|
||||
python3
|
||||
python38Packages.dateutil
|
||||
python38Packages.managesieve
|
||||
python38Packages.solo-python
|
||||
signal-desktop
|
||||
slurp
|
||||
sqlite
|
||||
sshfs-fuse
|
||||
steam
|
||||
tcpdump
|
||||
tdesktop
|
||||
texlive-tubslatex
|
||||
thunderbird-bin
|
||||
unzip
|
||||
usbutils
|
||||
virtmanager
|
||||
whois
|
||||
wireshark
|
||||
xdg_utils
|
||||
youtube-dl
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue