home.nix "refactoring"
This commit is contained in:
parent
7637673036
commit
268eb9181a
1 changed files with 46 additions and 33 deletions
25
home.nix
25
home.nix
|
@ -1,11 +1,12 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
home.username = "muhh";
|
home = {
|
||||||
home.homeDirectory = "/home/muhh";
|
username = "muhh";
|
||||||
home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
homeDirectory = "/home/muhh";
|
||||||
|
activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
/run/current-system/sw/bin/systemctl start --user sops-nix
|
/run/current-system/sw/bin/systemctl start --user sops-nix
|
||||||
'';
|
'';
|
||||||
home.packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
||||||
|
@ -25,20 +26,31 @@
|
||||||
curl
|
curl
|
||||||
distrobox
|
distrobox
|
||||||
fd
|
fd
|
||||||
|
ffmpegthumbnailer
|
||||||
git
|
git
|
||||||
|
htop
|
||||||
httpie
|
httpie
|
||||||
neovide
|
neovide
|
||||||
(nerdfonts.override { fonts = [ "Iosevka" ]; })
|
(nerdfonts.override { fonts = [ "Iosevka" ]; })
|
||||||
|
maid
|
||||||
|
mediainfo
|
||||||
mpv
|
mpv
|
||||||
morgen
|
morgen
|
||||||
obsidian
|
obsidian
|
||||||
|
pavucontrol
|
||||||
powertop
|
powertop
|
||||||
qutebrowser
|
qutebrowser
|
||||||
|
rclone
|
||||||
solargraph
|
solargraph
|
||||||
sops
|
sops
|
||||||
|
sxiv
|
||||||
|
steam-run
|
||||||
tmux
|
tmux
|
||||||
|
unzip
|
||||||
|
via
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
xdg-utils
|
||||||
zellij
|
zellij
|
||||||
zulip
|
zulip
|
||||||
zulip-term
|
zulip-term
|
||||||
|
@ -46,7 +58,7 @@
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
file = {
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||||
# # symlink to the Nix store copy.
|
# # symlink to the Nix store copy.
|
||||||
|
@ -69,9 +81,10 @@
|
||||||
# /etc/profiles/per-user/muhh/etc/profile.d/hm-session-vars.sh
|
# /etc/profiles/per-user/muhh/etc/profile.d/hm-session-vars.sh
|
||||||
#
|
#
|
||||||
# if you don't want to manage your shell through Home Manager.
|
# if you don't want to manage your shell through Home Manager.
|
||||||
home.sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
accounts = {
|
accounts = {
|
||||||
email = {
|
email = {
|
||||||
|
|
Loading…
Reference in a new issue