mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-31 08:13:06 +01:00
81 lines
1.6 KiB
Nix
81 lines
1.6 KiB
Nix
{
|
|
inputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# You can import other home-manager modules here
|
|
imports = [
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
|
];
|
|
|
|
nixpkgs = {
|
|
overlays = [];
|
|
|
|
# Configuring nixpkgs instance
|
|
config = {
|
|
allowUnfree = true;
|
|
|
|
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
|
allowUnfreePredicate = _: true;
|
|
};
|
|
};
|
|
|
|
# Username and home directory
|
|
home = {
|
|
username = "jo";
|
|
homeDirectory = "/home/jo";
|
|
};
|
|
|
|
# Plasma configuration
|
|
programs.plasma = {
|
|
enable = true;
|
|
|
|
workspace = {
|
|
clickItemTo = "select";
|
|
iconTheme = "Tela-blue-dark";
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
kdePackages.sierra-breeze-enhanced
|
|
spotify
|
|
qflipper
|
|
wineWowPackages.waylandFull
|
|
vesktop
|
|
avra
|
|
avrdude
|
|
jetbrains.phpstorm
|
|
teams-for-linux
|
|
enpass
|
|
thunderbird
|
|
kde-rounded-corners
|
|
];
|
|
|
|
# home.file.".config/gtk-4.0/gtk.css".source = "${orchis}/share/themes/Orchis-Green-Dark-Compact/gtk-4.0/gtk.css";
|
|
|
|
# Enable home-manager
|
|
programs.home-manager.enable = true;
|
|
|
|
# Enable and configure git
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
userEmail = "reckers.johannes@proton.me";
|
|
userName = "Jo";
|
|
|
|
# Enable git-credential-helper
|
|
extraConfig = {
|
|
credential.helper = "${
|
|
pkgs.git.override { withLibsecret = true; }
|
|
}/bin/git-credential-libsecret";
|
|
};
|
|
};
|
|
|
|
# Nicely reload system units when changing configs
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
home.stateVersion = "23.05";
|
|
}
|