2023-04-25 20:10:57 +00:00
|
|
|
# This is your home-manager configuration file
|
|
|
|
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
|
|
|
{
|
2023-04-25 21:59:40 +00:00
|
|
|
inputs,
|
2023-04-25 20:10:57 +00:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
# You can import other home-manager modules here
|
|
|
|
imports = [
|
|
|
|
# If you want to use modules your own flake exports (from modules/home-manager):
|
|
|
|
# outputs.homeManagerModules.example
|
|
|
|
|
|
|
|
# Or modules exported from other flakes (such as nix-colors):
|
|
|
|
# inputs.nix-colors.homeManagerModules.default
|
|
|
|
|
|
|
|
# You can also split up your configuration and import pieces of it here:
|
2023-04-25 21:16:04 +00:00
|
|
|
./neovim-flake.nix
|
2023-04-25 22:26:20 +00:00
|
|
|
./arrpc.nix
|
2023-04-25 20:10:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "floppydisk";
|
|
|
|
homeDirectory = "/home/floppydisk";
|
2023-04-25 21:59:40 +00:00
|
|
|
packages = with pkgs; [
|
2023-06-24 00:08:36 +00:00
|
|
|
# Utils
|
2023-06-17 20:36:44 +00:00
|
|
|
handbrake
|
|
|
|
thunderbird
|
|
|
|
picard
|
|
|
|
realvnc-vnc-viewer
|
|
|
|
rpi-imager
|
2023-05-20 20:12:34 +00:00
|
|
|
obs-studio
|
|
|
|
yt-dlp
|
2023-04-25 21:59:40 +00:00
|
|
|
_1password-gui
|
|
|
|
_1password
|
2023-06-17 20:36:44 +00:00
|
|
|
git-credential-1password
|
2023-08-06 17:16:13 +00:00
|
|
|
firefox-devedition
|
2023-04-25 21:59:40 +00:00
|
|
|
inputs.arrpc.packages.${pkgs.system}.arrpc
|
2023-05-08 16:53:34 +00:00
|
|
|
rdesktop
|
2023-05-22 22:13:47 +00:00
|
|
|
_3llo
|
2023-06-17 20:36:44 +00:00
|
|
|
gimp
|
|
|
|
qemu
|
|
|
|
virt-manager
|
2023-06-27 14:08:29 +00:00
|
|
|
exactaudiocopy
|
|
|
|
fsv
|
2023-07-11 20:49:45 +00:00
|
|
|
lsd
|
|
|
|
lsdvd
|
|
|
|
thefuck
|
|
|
|
zip
|
|
|
|
unzip
|
2023-07-24 17:35:52 +00:00
|
|
|
notion-app-enhanced
|
2023-08-05 22:05:19 +00:00
|
|
|
libresprite
|
2023-08-08 16:39:10 +00:00
|
|
|
qbittorrent
|
|
|
|
wine
|
2023-08-25 13:33:15 +00:00
|
|
|
vifm
|
|
|
|
cloudflared
|
|
|
|
ansible
|
|
|
|
just
|
|
|
|
pwgen
|
|
|
|
grafx2
|
2023-08-25 13:39:56 +00:00
|
|
|
libreoffice-fresh
|
2023-07-11 20:49:45 +00:00
|
|
|
|
|
|
|
# Fetch
|
|
|
|
neofetch
|
|
|
|
yafetch
|
|
|
|
cpufetch
|
|
|
|
bunnyfetch
|
|
|
|
nitch
|
|
|
|
screenfetch
|
|
|
|
starfetch
|
2023-06-24 00:08:36 +00:00
|
|
|
|
|
|
|
# DevTools
|
|
|
|
github-desktop
|
|
|
|
gh
|
|
|
|
codeql
|
|
|
|
vscode
|
|
|
|
jetbrains.ruby-mine
|
|
|
|
jetbrains.rider
|
|
|
|
jetbrains.phpstorm
|
|
|
|
jetbrains.idea-ultimate
|
|
|
|
jetbrains.webstorm
|
|
|
|
lazygit
|
|
|
|
wakatime
|
|
|
|
mongodb-compass
|
2023-07-11 20:49:45 +00:00
|
|
|
mongosh
|
2023-06-24 00:08:36 +00:00
|
|
|
httpie
|
2023-07-15 23:27:02 +00:00
|
|
|
ngrok
|
|
|
|
mycli
|
2023-07-24 17:35:52 +00:00
|
|
|
squirrel-sql
|
2023-08-25 13:33:15 +00:00
|
|
|
figma-linux
|
2023-06-24 00:08:36 +00:00
|
|
|
|
|
|
|
# Langs
|
|
|
|
openscad
|
|
|
|
nodejs_18
|
|
|
|
nodePackages.yarn
|
|
|
|
nodePackages.ts-node
|
2023-07-11 20:49:45 +00:00
|
|
|
nodePackages.pnpm
|
2023-06-24 00:08:36 +00:00
|
|
|
php82
|
|
|
|
php82Packages.composer
|
|
|
|
deno
|
2023-06-17 20:36:44 +00:00
|
|
|
python310
|
|
|
|
python310Packages.pip
|
|
|
|
python310Packages.discordpy
|
2023-06-24 00:08:36 +00:00
|
|
|
dotnet-sdk
|
|
|
|
jdk17
|
|
|
|
maven
|
2023-06-24 00:13:21 +00:00
|
|
|
dart
|
2023-07-11 20:49:45 +00:00
|
|
|
purescript
|
2023-06-24 00:08:36 +00:00
|
|
|
|
|
|
|
# Comms
|
|
|
|
nheko
|
|
|
|
element-desktop
|
2023-08-25 13:33:15 +00:00
|
|
|
(discord.override {
|
|
|
|
withOpenASAR = true;
|
|
|
|
withVencord = true;
|
|
|
|
})
|
2023-06-24 00:08:36 +00:00
|
|
|
caprine-bin
|
|
|
|
teamspeak5_client
|
|
|
|
|
|
|
|
# Gaming
|
|
|
|
rpcs3
|
|
|
|
pcsxr
|
|
|
|
pcsx2
|
|
|
|
steam
|
|
|
|
gzdoom
|
|
|
|
minecraft
|
|
|
|
dolphin-emu
|
|
|
|
prismlauncher
|
2023-06-27 14:08:29 +00:00
|
|
|
fceux
|
|
|
|
snes9x
|
|
|
|
heroic
|
|
|
|
openrct2
|
2023-08-05 22:05:19 +00:00
|
|
|
osu-lazer-bin
|
2023-06-24 00:08:36 +00:00
|
|
|
|
|
|
|
# Media
|
|
|
|
vlc
|
|
|
|
libsForQt5.vvave
|
|
|
|
tidal-hifi
|
2023-07-11 20:50:57 +00:00
|
|
|
|
|
|
|
# zsh Themes
|
|
|
|
zsh-powerlevel10k
|
2023-04-25 21:59:40 +00:00
|
|
|
];
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Add stuff for your user as you see fit:
|
|
|
|
programs = {
|
|
|
|
# Enable home-manager
|
|
|
|
home-manager.enable = true;
|
|
|
|
|
2023-07-11 20:50:57 +00:00
|
|
|
# Enable z-shell
|
|
|
|
zsh = {
|
2023-04-25 21:46:34 +00:00
|
|
|
enable = true;
|
2023-07-11 20:50:57 +00:00
|
|
|
shellAliases = {
|
|
|
|
ls = "lsd";
|
|
|
|
ll = "ls -l";
|
|
|
|
la = "ls -la";
|
|
|
|
};
|
|
|
|
history = {
|
|
|
|
size = 10000;
|
|
|
|
path = "$HOME/.config/zsh/history";
|
|
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [
|
|
|
|
"git"
|
|
|
|
"thefuck"
|
|
|
|
];
|
|
|
|
custom = "$HOME/.oh-my-custom";
|
|
|
|
theme = "powerlevel10k/powerlevel10k";
|
|
|
|
};
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "powerlevel10k";
|
|
|
|
src = pkgs.zsh-powerlevel10k;
|
|
|
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
initExtra = ''
|
|
|
|
source ~/.p10k.zsh
|
2023-04-25 21:46:34 +00:00
|
|
|
'';
|
|
|
|
};
|
2023-04-25 21:43:52 +00:00
|
|
|
|
2023-04-25 20:10:57 +00:00
|
|
|
# enable git and configure users
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Frankie B.";
|
|
|
|
userEmail = "git@diskfloppy.me";
|
2023-05-21 20:03:59 +00:00
|
|
|
extraConfig = {
|
|
|
|
# Sign all commits using ssh key
|
|
|
|
commit.gpgsign = true;
|
|
|
|
gpg.format = "ssh";
|
|
|
|
user.signingkey = "~/.ssh/id_ed25519.pub";
|
2023-06-17 21:46:37 +00:00
|
|
|
init.defaultBranch = "master";
|
2023-04-26 22:55:50 +00:00
|
|
|
};
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
2023-08-30 12:35:27 +00:00
|
|
|
|
2023-07-11 21:58:09 +00:00
|
|
|
irssi = {
|
|
|
|
enable = true;
|
|
|
|
networks = {
|
|
|
|
znc = {
|
|
|
|
nick = "floppydisk";
|
|
|
|
server = {
|
|
|
|
address = "irc.nick99nack.com";
|
|
|
|
port = 8888;
|
|
|
|
autoConnect = true;
|
|
|
|
ssl.enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-04-25 20:10:57 +00:00
|
|
|
};
|
|
|
|
|
2023-08-30 12:35:27 +00:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
2023-09-02 18:41:13 +00:00
|
|
|
systemdIntegration = true;
|
|
|
|
settings = import ./hyprland.nix;
|
|
|
|
};
|
2023-08-30 12:35:27 +00:00
|
|
|
|
2023-09-02 18:41:13 +00:00
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
|
|
|
settings = import ./waybar.nix;
|
2023-08-30 12:35:27 +00:00
|
|
|
};
|
|
|
|
|
2023-04-25 20:10:57 +00:00
|
|
|
# Nicely reload system units when changing configs
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
|
|
home.stateVersion = "22.11";
|
|
|
|
}
|