2024-04-25 02:33:53 +02:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
2024-05-14 01:34:04 +02:00
|
|
|
outputs,
|
2024-04-25 02:33:53 +02:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
2024-05-29 00:15:32 +02:00
|
|
|
./desktop/gnome.nix
|
|
|
|
outputs.homeManagerModules.themes.catppuccin.global
|
2024-05-20 18:08:16 +02:00
|
|
|
outputs.homeManagerModules.development.ssh
|
2024-04-25 02:33:53 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2024-05-14 01:34:04 +02:00
|
|
|
# General packages
|
2024-05-12 22:36:39 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
qflipper
|
|
|
|
wineWowPackages.waylandFull
|
|
|
|
vesktop
|
2024-05-29 00:15:32 +02:00
|
|
|
lunar-client
|
2024-05-20 18:08:16 +02:00
|
|
|
|
|
|
|
# For development
|
2024-05-12 22:36:39 +02:00
|
|
|
avra
|
|
|
|
avrdude
|
2024-05-20 18:08:16 +02:00
|
|
|
vscodium
|
2024-05-12 22:36:39 +02:00
|
|
|
jetbrains.phpstorm
|
2024-05-20 18:08:16 +02:00
|
|
|
git
|
2024-05-29 00:15:32 +02:00
|
|
|
nodejs_22
|
|
|
|
|
|
|
|
# Work stuff for when I'm not actually working
|
|
|
|
teams-for-linux
|
|
|
|
enpass
|
2024-05-12 22:36:39 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Enable home-manager
|
2024-04-25 02:33:53 +02:00
|
|
|
programs.home-manager.enable = true;
|
2024-05-12 22:36:39 +02:00
|
|
|
|
|
|
|
# Enable and configure git
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-05-14 02:13:39 +02:00
|
|
|
userEmail = "jo@thevoid.cafe";
|
2024-05-12 22:36:39 +02:00
|
|
|
userName = "Jo";
|
|
|
|
|
|
|
|
extraConfig = {
|
2024-05-20 18:08:16 +02:00
|
|
|
user = {
|
|
|
|
signingkey = "$HOME/.ssh/id_ed25519";
|
|
|
|
};
|
|
|
|
|
|
|
|
init = {
|
|
|
|
defaultBranch = "main";
|
|
|
|
};
|
|
|
|
|
|
|
|
color = {
|
|
|
|
ui = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.gh = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
gitCredentialHelper = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
hosts = [
|
|
|
|
"https://github.com"
|
|
|
|
"https://gist.github.com"
|
|
|
|
"https://git.thevoid.cafe"
|
|
|
|
"https://gitlab.org"
|
|
|
|
"https://git.semiko.dev"
|
|
|
|
"https://bitbucket.org"
|
|
|
|
];
|
2024-05-12 22:36:39 +02:00
|
|
|
};
|
|
|
|
};
|
2024-04-25 02:33:53 +02:00
|
|
|
|
|
|
|
# Nicely reload system units when changing configs
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
}
|