2023-04-25 20:10:57 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
2024-02-02 18:29:45 +00:00
|
|
|
lib,
|
2023-04-25 20:10:57 +00:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
2024-02-02 18:29:45 +00:00
|
|
|
./packages.nix # home.packages and similar stuff
|
2024-05-29 13:39:33 +00:00
|
|
|
./nvf.nix
|
2024-02-18 01:09:22 +00:00
|
|
|
./ssh.nix
|
|
|
|
./git.nix
|
2023-04-25 20:10:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "floppydisk";
|
|
|
|
homeDirectory = "/home/floppydisk";
|
2024-02-02 18:29:45 +00:00
|
|
|
file.".config/lockonsleep/config.sh".source = ./lock.sh;
|
2024-02-07 01:40:31 +00:00
|
|
|
file.".config/hypr/hyprpaper.conf".text = ''
|
2024-02-16 12:21:48 +00:00
|
|
|
preload = ${/. + ../../misc/wallpapers/ibm.png}
|
|
|
|
wallpaper = ,${/. + ../../misc/wallpapers/ibm.png}
|
2024-02-07 01:40:31 +00:00
|
|
|
splash = false
|
|
|
|
'';
|
2024-02-02 18:29:45 +00:00
|
|
|
};
|
2023-06-24 00:08:36 +00:00
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
systemd.enable = true;
|
|
|
|
settings = import ./hyprland.nix;
|
|
|
|
};
|
2023-07-11 20:50:57 +00:00
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
|
|
|
settings = import ./waybar.nix;
|
|
|
|
style = import ./waybar-style.nix;
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
services.udiskie.enable = true;
|
2024-02-16 12:21:48 +00:00
|
|
|
services.arrpc.enable = true;
|
2024-02-02 18:29:45 +00:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
shellAliases = {
|
|
|
|
ls = "lsd";
|
|
|
|
ll = "ls -l";
|
|
|
|
la = "ls -la";
|
2023-04-25 21:46:34 +00:00
|
|
|
};
|
2024-02-02 18:29:45 +00:00
|
|
|
history = {
|
|
|
|
size = 10000;
|
|
|
|
path = "$HOME/.config/zsh/history";
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
2024-02-02 18:29:45 +00:00
|
|
|
oh-my-zsh = {
|
2023-07-11 21:58:09 +00:00
|
|
|
enable = true;
|
2024-02-02 18:29:45 +00:00
|
|
|
plugins = [
|
|
|
|
"git"
|
|
|
|
"thefuck"
|
2024-02-07 01:40:31 +00:00
|
|
|
];
|
|
|
|
custom = "$HOME/.oh-my-custom";
|
2024-05-07 18:46:48 +00:00
|
|
|
#theme = "powerlevel10k/powerlevel10k";
|
2023-07-11 21:58:09 +00:00
|
|
|
};
|
2024-02-02 18:29:45 +00:00
|
|
|
plugins = [
|
|
|
|
{
|
2024-02-07 01:40:31 +00:00
|
|
|
name = "powerlevel10k";
|
|
|
|
src = pkgs.zsh-powerlevel10k;
|
|
|
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
2024-02-02 18:29:45 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
initExtra = ''
|
|
|
|
source ~/.p10k.zsh
|
|
|
|
'';
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
programs.git = {
|
2023-08-30 12:35:27 +00:00
|
|
|
enable = true;
|
2024-02-02 18:29:45 +00:00
|
|
|
userName = "Frankie B.";
|
|
|
|
userEmail = "git@diskfloppy.me";
|
|
|
|
extraConfig = {
|
2024-02-07 01:40:31 +00:00
|
|
|
# commit.gpgsign = true;
|
|
|
|
# gpg.format = "ssh";
|
|
|
|
# user.signingkey = "~/.ssh/id_ed25519.pub";
|
2024-02-02 18:29:45 +00:00
|
|
|
init.defaultBranch = "master";
|
|
|
|
};
|
2023-09-02 18:41:13 +00:00
|
|
|
};
|
2023-08-30 12:35:27 +00:00
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
programs.irssi = {
|
2023-09-02 18:41:13 +00:00
|
|
|
enable = true;
|
2024-02-02 18:29:45 +00:00
|
|
|
networks = {
|
|
|
|
znc = {
|
|
|
|
nick = "floppydisk";
|
|
|
|
server = {
|
|
|
|
address = "irc.nick99nack.com";
|
|
|
|
port = 8888;
|
|
|
|
autoConnect = true;
|
|
|
|
ssl.enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-08-30 12:35:27 +00:00
|
|
|
};
|
|
|
|
|
2024-02-02 18:29:45 +00:00
|
|
|
# let HM manage itself when in standalone mode
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
# Nicely reload system(d) units when changing configs
|
|
|
|
systemd.user.startServices = lib.mkDefault "sd-switch";
|
2023-04-25 20:10:57 +00:00
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
2024-02-02 18:29:45 +00:00
|
|
|
home.stateVersion = "24.05";
|
2023-04-25 20:10:57 +00:00
|
|
|
}
|