2023-04-04 12:08:13 +02:00
|
|
|
{ inputs, lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2023-04-11 14:53:19 +02:00
|
|
|
imports = [
|
|
|
|
./apps
|
|
|
|
./shells
|
|
|
|
./utils
|
|
|
|
];
|
|
|
|
|
|
|
|
# Nix Flakes
|
|
|
|
nix.package = pkgs.nixFlakes;
|
|
|
|
nix.extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
keep-outputs = true
|
|
|
|
keep-derivations = true
|
|
|
|
'';
|
|
|
|
|
|
|
|
users.users.tdpeuter = {
|
|
|
|
description = "Tibo De Peuter";
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
|
|
|
initialPassword = "ChangeMe";
|
|
|
|
packages = with pkgs; [
|
|
|
|
home-manager
|
2023-04-04 12:08:13 +02:00
|
|
|
];
|
2023-04-11 14:53:19 +02:00
|
|
|
shell = pkgs.zsh;
|
|
|
|
};
|
2023-04-04 12:08:13 +02:00
|
|
|
|
2023-04-11 14:53:19 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2023-04-04 12:08:13 +02:00
|
|
|
|
2023-04-11 14:53:19 +02:00
|
|
|
home-manager.users.tdpeuter = { pkgs, ... }: {
|
|
|
|
home = {
|
|
|
|
username = "tdpeuter";
|
|
|
|
homeDirectory = "/home/tdpeuter";
|
|
|
|
stateVersion = "22.11";
|
|
|
|
|
|
|
|
packages = with pkgs; [
|
|
|
|
brave
|
|
|
|
caprine-bin
|
|
|
|
direnv
|
|
|
|
discord
|
|
|
|
duf
|
|
|
|
git-crypt
|
|
|
|
gnupg
|
|
|
|
jellyfin-media-player
|
|
|
|
libreoffice-fresh-unwrapped
|
|
|
|
lynx
|
|
|
|
mattermost-desktop
|
|
|
|
nextcloud-client
|
|
|
|
obsidian
|
|
|
|
pinentry_qt
|
|
|
|
spotify
|
|
|
|
w3m
|
|
|
|
zathura
|
|
|
|
zenith
|
|
|
|
zoom-us
|
2023-04-04 12:08:13 +02:00
|
|
|
|
2023-04-11 14:53:19 +02:00
|
|
|
# Fonts
|
|
|
|
corefonts # Calibri for Uni
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "tdpeuter";
|
|
|
|
userEmail = "tibo.depeuter@gmail.com";
|
|
|
|
extraConfig = {
|
|
|
|
core.editor = "vim";
|
2023-04-04 12:08:13 +02:00
|
|
|
};
|
2023-04-11 14:53:19 +02:00
|
|
|
includes = [
|
|
|
|
{
|
|
|
|
path = "~/.gitconfig-ugent";
|
|
|
|
condition = "gitdir:~/Nextcloud/Documenten/UGent";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
gpg.enable = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
pinentryFlavor = "qt";
|
|
|
|
};
|
|
|
|
|
2023-04-04 12:08:13 +02:00
|
|
|
};
|
2023-04-11 14:53:19 +02:00
|
|
|
};
|
2023-04-04 12:08:13 +02:00
|
|
|
|
|
|
|
}
|