dotfiles/homes/floppydisk/default.nix

106 lines
2.2 KiB
Nix
Raw Normal View History

2023-04-25 20:10:57 +00:00
{
pkgs,
lib,
2023-04-25 20:10:57 +00:00
...
}: {
imports = [
./packages.nix # home.packages and similar stuff
./neovim-flake.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";
file.".config/lockonsleep/config.sh".source = ./lock.sh;
file.".config/hypr/hyprpaper.conf".text = ''
2024-02-16 12:21:48 +00:00
preload = ${/. + ../../misc/wallpapers/ibm.png}
wallpaper = ,${/. + ../../misc/wallpapers/ibm.png}
splash = false
'';
};
2023-06-24 00:08:36 +00:00
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = true;
settings = import ./hyprland.nix;
};
2023-07-11 20:50:57 +00:00
programs.waybar = {
enable = true;
settings = import ./waybar.nix;
style = import ./waybar-style.nix;
2023-04-25 20:10:57 +00:00
};
services.udiskie.enable = true;
2024-02-16 12:21:48 +00:00
services.arrpc.enable = true;
programs.zsh = {
enable = true;
shellAliases = {
ls = "lsd";
ll = "ls -l";
la = "ls -la";
2023-04-25 21:46:34 +00:00
};
history = {
size = 10000;
path = "$HOME/.config/zsh/history";
2023-04-25 20:10:57 +00:00
};
oh-my-zsh = {
2023-07-11 21:58:09 +00:00
enable = true;
plugins = [
"git"
"thefuck"
];
custom = "$HOME/.oh-my-custom";
theme = "powerlevel10k/powerlevel10k";
2023-07-11 21:58:09 +00:00
};
plugins = [
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
];
initExtra = ''
source ~/.p10k.zsh
'';
2023-04-25 20:10:57 +00:00
};
programs.git = {
2023-08-30 12:35:27 +00:00
enable = true;
userName = "Frankie B.";
userEmail = "git@diskfloppy.me";
extraConfig = {
# commit.gpgsign = true;
# gpg.format = "ssh";
# user.signingkey = "~/.ssh/id_ed25519.pub";
init.defaultBranch = "master";
};
2023-09-02 18:41:13 +00:00
};
2023-08-30 12:35:27 +00:00
programs.irssi = {
2023-09-02 18:41:13 +00:00
enable = true;
networks = {
znc = {
nick = "floppydisk";
server = {
address = "irc.nick99nack.com";
port = 8888;
autoConnect = true;
ssl.enable = false;
};
};
};
2023-08-30 12:35:27 +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
home.stateVersion = "24.05";
2023-04-25 20:10:57 +00:00
}