This commit is contained in:
Bit Borealis 2023-07-01 04:21:17 +00:00
commit aba9538d4e
2 changed files with 156 additions and 0 deletions

75
default.nix Normal file
View file

@ -0,0 +1,75 @@
{ ... } :
# . + . . . . . .
# . . . *
# . * . . . . . . + .
# . . + . . .
# . . . . . . .
# . . . +. + .
# . . . .
# . . . * . . . . + .
# + . . . +
# . . + .+. .. *
# .   。   •   ゚  。   . +
#   .     .    。   。 . . . . .
# .  。     ඞ 。 .   • . . + +
#   ゚  Hive was an Impostor + .
#  '   2 Impostors remain + .+.    • 
#  ゚   .  . ,   .  . , +   . 
# . . . + . . . + .+. .
# . . . . . . . . ! /
# * . . . + . . - O -
# . . . + . . * . . / |
# . + . . . .. + .
# . . . . * . * . +.. . *
# . . . . . . . . + . . +
{
services.syncthing = {
enable = true;
user = "hive";
configDir = "/home/hive/.config/syncthing";
overrideDevices = false;
overrideFolders = false;
devices = { "impostor" = {
id = "XBG44HU-OVOC6RN-4DHMDRH-WPL7OPW-XBYYOMK-DV5GGGA-LEP6HCJ-QVPMSAI";
introducer = true;
}; };
folders = {
"ssh" = {
id = "mkkgo-chqwk";
path = "~/.ssh";
devices = [ "impostor" ];
ignorePerms = false;
};
"decsync" = {
id = "20lk1-ims07";
path = "~/.local/share/decsync";
devices = [ "impostor" ];
};
"scripts" = {
id = "6nunu-quun5";
path = "~/.local/bin/scripts";
devices = [ "impostor" ];
};
"dotfiles" = {
id = "sjgew-vdpfl";
path = "~/.dotfiles";
devices = [ "impostor" ];
};
"password-store" = {
id = "tadwa-1va0d";
path = "~/.local/share/pass";
devices = [ "impostor" ];
};
"notes" = {
id = "y0a00-2ha8l";
path = "~/Notes";
devices = [ "impostor" ];
};
"documents" = {
id = "y7ecb-v9ds7";
path = "~/Documents";
devices = [ "impostor" ];
};
};
};
}

81
home.nix Normal file
View file

@ -0,0 +1,81 @@
# all my home stuff :3
sysConf: { config, pkgs, lib, ... }:
{
home.sessionVariables = {
# system configuration
EDITOR = "nvim";
# cleanup homedir
CARGO_HOME = "${config.xdg.dataHome}/cargo";
# fish config
fish_greeting = " heya ${sysConf.user}, welcome to ${sysConf.prettyHost} ~";
};
# installing my packages uvu
home.packages = with pkgs; [
bat
diceware
pwgen
kitty
schildichat-desktop
dino
mangohud
termpdfpy
lollypop
skim
syncthing
armcord
ripgrep
tmate
btop
firefox
apostrophe
warp
syncplay
mpv
wl-clipboard
adw-gtk3
# some bullshit to get gnome apps to install withotu a prefix
] ++ (with pkgs.gnome; with pkgs.gnomeExtensions; [
gnome-tweaks
dconf-editor
night-theme-switcher
rounded-window-corners
appindicator
]);
# configure programs
programs.home-manager.enable = true;
programs.fish = {
enable = true;
shellAbbrs = {
nxs = "nix search nixpkgs";
nxr = "nix run nixpkgs#";
nxsh = "nix shell nixpkgs#";
e = "edit";
nxb = "sudo nixos-rebuild switch";
nxu = "sudo nixos-rebuild boot --upgrade";
nxc = "sudo nix-collect-garbage -d";
};
interactiveShellInit = ''
fish_add_path ~/.local/bin
fish_add_path ~/.local/bin/scripts
fish_add_path ~/.local/share/cargo/bin
fish_add_path /var/lib/flatpak/exports/bin
fish_vi_key_bindings
'';
};
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
settings = {
PASSWORD_STORE_DIR = "${config.xdg.dataHome}/pass";
PASSWORD_STORE_CLIP_TIME = "60";
};
};
programs.browserpass.enable = true;
programs.gpg.enable = true;
# don't uh, change this or something might break lol idk
home.stateVersion = "22.11";
}