123 lines
2.9 KiB
Nix
123 lines
2.9 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}: let
|
|
global-configs = ../../global-configs;
|
|
in {
|
|
imports = [
|
|
../../global-home.nix
|
|
./configs/fastfetch.nix
|
|
"${global-configs}/zsh.nix"
|
|
"${global-configs}/kitty.nix"
|
|
"${global-configs}/floorp.nix"
|
|
"${global-configs}/vscode.nix"
|
|
"${global-configs}/gnome.nix"
|
|
"${global-configs}/equibop.nix"
|
|
#"${global-configs}/spicetify.nix"
|
|
"${global-configs}/niri.nix"
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
obsidian
|
|
github-desktop
|
|
thunderbird
|
|
jetbrains.clion
|
|
jetbrains.idea
|
|
proton-vpn
|
|
ente-auth
|
|
signal-desktop
|
|
hyperfine
|
|
nautilus
|
|
code-nautilus
|
|
xarchiver
|
|
kdePackages.filelight
|
|
remmina
|
|
freerdp
|
|
jmtpfs
|
|
loupe
|
|
];
|
|
|
|
stylix.targets.floorp.profileNames = [ "default" ];
|
|
|
|
dconf.settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
};
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
gtk3.bookmarks = [
|
|
"file:///home/grey/nixos NixOS"
|
|
"file:///home/grey/Downloads Downloads"
|
|
"file:///home/grey/Documents Documents"
|
|
"file:///home/grey/Pictures Pictures"
|
|
"file:///home/grey/Music Music"
|
|
"file:///home/grey/Videos Videos"
|
|
"file:/// Root"
|
|
];
|
|
};
|
|
|
|
services.udiskie = {
|
|
enable = true;
|
|
settings = {
|
|
# workaround for
|
|
# https://github.com/nix-community/home-manager/issues/632
|
|
program_options = {
|
|
# replace with your favorite file manager
|
|
file_manager = "${pkgs.nautilus}/bin/nautilus";
|
|
};
|
|
};
|
|
};
|
|
|
|
xdg = {
|
|
enable = true;
|
|
mimeApps.defaultApplications = {
|
|
"x-scheme-handler/x-github-client" = [ "github-desktop.desktop" ];
|
|
"x-scheme-handler/x-github-desktop-dev-auth" = [ "github-desktop.desktop" ];
|
|
"x-scheme-handler/http" = [ "floorp.desktop" ];
|
|
"text/html" = [ "floorp.desktop" ];
|
|
"application/xhtml+xml" = [ "floorp.desktop" ];
|
|
"x-scheme-handler/https" = [ "floorp.desktop" ];
|
|
"text/calendar" = [ "thunderbird.desktop" ];
|
|
};
|
|
};
|
|
|
|
programs.ssh = {
|
|
settings = {
|
|
"takamaki" = {
|
|
HostName = "greyweather.dev";
|
|
Port = "2222";
|
|
User = "grey";
|
|
IdentityFile = "~/.ssh/id_takamaki";
|
|
};
|
|
"sakamoto" = {
|
|
HostName = "greyweather.dev";
|
|
Port = "22";
|
|
User = "grey";
|
|
IdentityFile = "~/.ssh/id_sakamoto";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.zsh.shellAliases = {
|
|
wake-takamaki = "ssh sakamoto .local/bin/wake-takamaki";
|
|
shutdown-takamaki = "ssh takamaki global-shutdown";
|
|
reboot-takamaki = "ssh takamaki global-reboot";
|
|
switch-takamaki-os = "ssh takamaki switch-os";
|
|
};
|
|
|
|
home.activation = {
|
|
linkRemminaPresets = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
#!/bin/bash
|
|
if [ -d /home/grey/.local/share/remmina ]; then
|
|
rm -rf /home/grey/.local/share/remmina
|
|
fi
|
|
ln -s /home/grey/nixos/assets/dotfiles/remmina-presets /home/grey/.local/share/remmina
|
|
'';
|
|
};
|
|
}
|