Move home-manager to new location
This commit is contained in:
parent
7db3c9c499
commit
531786f609
8 changed files with 4 additions and 10 deletions
59
.config/home-manager/common.nix
Normal file
59
.config/home-manager/common.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
bat # cat-alternative
|
||||
dasel # tool to manage yq, jq, toml and more
|
||||
direnv # tool to load custom environments
|
||||
docker-credential-helpers
|
||||
exa # ls-alternative
|
||||
faas-cli # cli for openfaas
|
||||
fzf # fuzzy finder
|
||||
git # git
|
||||
gitflow # tool for git workflow
|
||||
git-lfs # git support for large files
|
||||
#git-secret # tool for secrets in git (gpg based)
|
||||
jq # tool for JSON
|
||||
moar # moar is less
|
||||
nix-direnv # allow better nix and direnv integration
|
||||
neovim # alternative to vim
|
||||
libnotify # allows sending notifications
|
||||
lsof # who uses that drive/directory
|
||||
openssh # ssh client and server
|
||||
pass # password-store
|
||||
playerctl # control media players
|
||||
p7zip # tool to extract 7z archives
|
||||
rclone # tool for remote storages
|
||||
restic # backup tool
|
||||
ripgrep # grep-alternative
|
||||
rmtrash # rm wrapper to use trash
|
||||
shellcheck # tool for shell-syntax
|
||||
#spotifyd # spotify-daemon
|
||||
(spotifyd.override { withMpris = true; }) # spotify-daemon
|
||||
tokei # project-language statistics
|
||||
unzip # unzip
|
||||
vimHugeX # vim with clipboard support
|
||||
xdg-user-dirs # tool manage user directories
|
||||
yq # tool for YAML
|
||||
yt-dlp # tool to download videos from the internet
|
||||
zip # zip
|
||||
];
|
||||
|
||||
# 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 = "22.11";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
targets.genericLinux.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
1
.config/home-manager/config.nix
Normal file
1
.config/home-manager/config.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ allowUnfree = true; }
|
37
.config/home-manager/graphical.nix
Normal file
37
.config/home-manager/graphical.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
#alacritty # terminal emulator
|
||||
bc # calculator (bsp-layout dependency)
|
||||
bemenu # tool to display menus
|
||||
bsp-layout # automatic layouts for bpswm
|
||||
ckb-next # corsair hardware control
|
||||
conky # shows stuff on the wallpaper
|
||||
dunst # notification-daemon
|
||||
feh # image viewer and wallpaper-tool
|
||||
flameshot # screenshot tool
|
||||
gspell # spell highlighting for gtk applications
|
||||
helvum # Pipewire GUI
|
||||
j4-dmenu-desktop # collects .desktop files for a menu
|
||||
keepassxc # password manager
|
||||
libsForQt5.kdeconnect-kde # tool to connect a phone to the computer
|
||||
parcellite # clipboard-manager
|
||||
pavucontrol # Pulseaudio GUI
|
||||
polybar # desktop bar
|
||||
#python310Packages.adblock # pylib for adblocking in qutebrowser
|
||||
#python310Packages.pynacl # pylib for qutebrowser-keepassxc support
|
||||
#(qutebrowser.override { enableWideVine = true; }) # vim-like browser
|
||||
solaar # Logitech tool
|
||||
sxhkd # hotkey daemon
|
||||
unclutter-xfixes # hides the cursor
|
||||
#vagrant # tool for automated virtual machines
|
||||
#virtualbox # tool for virtual machines
|
||||
xclip # clipboard CLI for X
|
||||
xcompmgr # compositor for X
|
||||
xfce.thunar # file manager
|
||||
xfce.tumbler # thumbnail tool
|
||||
xorg.xsetroot # tool to set x background stuff
|
||||
];
|
||||
}
|
11
.config/home-manager/portable-tobias.nix
Normal file
11
.config/home-manager/portable-tobias.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "tobias";
|
||||
home.homeDirectory = "/home/tobias";
|
||||
|
||||
imports = [
|
||||
./common.nix
|
||||
./graphical.nix
|
||||
];
|
||||
}
|
15
.config/home-manager/portalo-tobias.nix
Normal file
15
.config/home-manager/portalo-tobias.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "tobias";
|
||||
home.homeDirectory = "/home/tobias";
|
||||
|
||||
imports = [
|
||||
./common.nix
|
||||
./graphical.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
#rustdesk # remote desktop tool
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue