2022-09-17 16:50:50 +02:00
|
|
|
#
|
|
|
|
# General Home-manager configuration
|
|
|
|
#
|
|
|
|
# flake.nix
|
|
|
|
# ├─ ./hosts
|
|
|
|
# │ └─ home.nix *
|
|
|
|
# └─ ./modules
|
|
|
|
# ├─ ./editors
|
|
|
|
# │ └─ default.nix
|
|
|
|
# ├─ ./programs
|
|
|
|
# │ └─ default.nix
|
|
|
|
# ├─ ./services
|
|
|
|
# │ └─ default.nix
|
|
|
|
# └─ ./shell
|
|
|
|
# └─ default.nix
|
|
|
|
#
|
|
|
|
|
|
|
|
{ config, lib, pkgs, user, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = # Home Manager Modules
|
2022-10-22 16:31:30 +02:00
|
|
|
(import ../modules/editors) ++
|
2022-09-17 16:50:50 +02:00
|
|
|
(import ../modules/programs) ++
|
2022-11-03 17:03:16 +01:00
|
|
|
(import ../modules/programs/configs) ++
|
2022-09-17 16:50:50 +02:00
|
|
|
(import ../modules/services) ++
|
|
|
|
(import ../modules/shell);
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "${user}";
|
|
|
|
homeDirectory = "/home/${user}";
|
|
|
|
|
|
|
|
packages = with pkgs; [
|
2023-09-03 10:17:38 +02:00
|
|
|
# Terminal
|
|
|
|
btop # Resource Manager
|
|
|
|
pfetch # Minimal fetch
|
|
|
|
ranger # File Manager
|
|
|
|
gnupg # sign and authorize 2nd Fac
|
2022-11-26 20:32:43 +01:00
|
|
|
|
2023-09-03 10:17:38 +02:00
|
|
|
xdg-utils
|
|
|
|
steam
|
2022-12-20 19:35:37 +01:00
|
|
|
|
2023-09-03 10:17:38 +02:00
|
|
|
# dev tools
|
|
|
|
gcc
|
|
|
|
gnumake
|
|
|
|
gnupatch
|
|
|
|
gnulib
|
|
|
|
yubioath-flutter
|
|
|
|
nitrokey-app
|
2022-12-20 19:45:11 +01:00
|
|
|
|
2023-09-03 10:17:38 +02:00
|
|
|
tailscale
|
|
|
|
wireguard-tools
|
2022-09-17 16:50:50 +02:00
|
|
|
|
2023-09-03 10:17:38 +02:00
|
|
|
# Video/Audio
|
|
|
|
mpv # Media Player
|
|
|
|
youtube-dl
|
2022-09-17 16:50:50 +02:00
|
|
|
|
2023-09-03 10:17:38 +02:00
|
|
|
# Apps
|
|
|
|
galculator
|
|
|
|
tdesktop
|
|
|
|
hdparm
|
|
|
|
python3Full
|
|
|
|
android-tools
|
|
|
|
calibre
|
|
|
|
mtpfs
|
|
|
|
vimiv-qt
|
|
|
|
#freecad
|
|
|
|
|
|
|
|
# File Management
|
|
|
|
#okular # PDF viewer
|
|
|
|
#gnome.file-roller # Archive Manager
|
|
|
|
pcmanfm # File Manager
|
|
|
|
rsync # Syncer $ rsync -r dir1/ dir2/
|
|
|
|
unzip # Zip files
|
|
|
|
unrar # Rar files
|
|
|
|
papirus-icon-theme
|
|
|
|
|
|
|
|
# General configuration
|
|
|
|
keepassxc
|
|
|
|
libreoffice
|
2022-09-17 16:50:50 +02:00
|
|
|
|
|
|
|
# Flatpak
|
2023-09-03 10:17:38 +02:00
|
|
|
super-slicer-latest
|
2023-07-05 11:58:10 +02:00
|
|
|
#vscodium
|
|
|
|
(vscode-with-extensions.override {
|
|
|
|
vscode = vscodium;
|
|
|
|
vscodeExtensions = with vscode-extensions; [
|
|
|
|
vscodevim.vim
|
|
|
|
github.copilot
|
|
|
|
ms-python.python
|
|
|
|
ms-vscode.cpptools
|
|
|
|
dracula-theme.theme-dracula
|
|
|
|
catppuccin.catppuccin-vsc
|
|
|
|
catppuccin.catppuccin-vsc-icons
|
|
|
|
|
|
|
|
];
|
|
|
|
})
|
2022-09-17 16:50:50 +02:00
|
|
|
];
|
|
|
|
file.".config/wall".source = ../modules/themes/wall.jpg;
|
2022-10-15 15:41:21 +02:00
|
|
|
file.".config/lockwall".source = ../modules/themes/lockwall.jpg;
|
2022-09-17 16:50:50 +02:00
|
|
|
pointerCursor = { # This will set cursor systemwide so applications can not choose their own
|
|
|
|
name = "Dracula-cursors";
|
|
|
|
package = pkgs.dracula-theme;
|
|
|
|
size = 16;
|
2023-01-28 10:11:36 +01:00
|
|
|
gtk.enable = true;
|
2022-09-17 16:50:50 +02:00
|
|
|
};
|
|
|
|
stateVersion = "22.05";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
};
|
|
|
|
|
2022-12-20 19:45:11 +01:00
|
|
|
|
2022-09-17 16:50:50 +02:00
|
|
|
gtk = { # Theming
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "Dracula";
|
|
|
|
package = pkgs.dracula-theme;
|
|
|
|
};
|
|
|
|
iconTheme = {
|
|
|
|
name = "Papirus-Dark";
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
};
|
|
|
|
font = {
|
2023-05-16 09:50:42 +02:00
|
|
|
name = "FiraCode Nerd Font"; # or FiraCode Nerd Font Mono Medium
|
2022-09-17 16:50:50 +02:00
|
|
|
}; # Cursor is declared under home.pointerCursor
|
|
|
|
};
|
2022-12-17 20:08:59 +01:00
|
|
|
systemd.user.services.mpris-proxy = {
|
|
|
|
Unit.Description = "Mpris proxy";
|
|
|
|
Unit.After = [ "network.target" "sound.target" ];
|
|
|
|
Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
|
|
|
Install.WantedBy = [ "default.target" ];
|
|
|
|
};
|
2022-09-17 16:50:50 +02:00
|
|
|
}
|