119 lines
2.4 KiB
Nix
119 lines
2.4 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}: let
|
|
global-configs = ../../global-configs;
|
|
packages = ../../packages;
|
|
in {
|
|
imports = [
|
|
# inputs.nixos-millennium.homeManagerModules.default
|
|
../../global-home.nix
|
|
"${global-configs}/plasma.nix"
|
|
"${global-configs}/zen-browser.nix"
|
|
"${global-configs}/vscode.nix"
|
|
"${global-configs}/zsh.nix"
|
|
"${global-configs}/equibop.nix"
|
|
"${global-configs}/spicetify.nix"
|
|
./configs/easyeffects.nix
|
|
./configs/kitty.nix
|
|
./configs/fastfetch.nix
|
|
./configs/flatpak.nix
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
prismlauncher
|
|
obsidian
|
|
github-desktop
|
|
thunderbird
|
|
unityhub
|
|
godot
|
|
jetbrains.clion
|
|
jetbrains.idea
|
|
obs-studio
|
|
proton-vpn
|
|
ente-auth
|
|
winetricks
|
|
protontricks
|
|
kdePackages.filelight
|
|
dconf-editor
|
|
mangohud
|
|
mangojuice
|
|
python3
|
|
android-tools
|
|
protonplus
|
|
signal-desktop
|
|
];
|
|
|
|
home.pointerCursor = {
|
|
enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Ice";
|
|
size = 22;
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
colorScheme = "dark";
|
|
|
|
gtk2.configLocation = "${config.home.homeDirectory}/.config/.gtkrc-2.0"; # prevents file conflicts between this and other parts of the nix config
|
|
gtk2.force = true;
|
|
};
|
|
|
|
programs.ssh = {
|
|
settings = {
|
|
"sakamoto" = {
|
|
HostName = "192.168.0.40";
|
|
Port = "22";
|
|
User = "grey";
|
|
IdentityFile = "~/.ssh/id_sakamoto";
|
|
};
|
|
};
|
|
};
|
|
|
|
home.activation = {
|
|
linkAutostartDir = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
#!/bin/bash
|
|
if [ -d /home/grey/.config/autostart ]; then
|
|
rm -rf /home/grey/.config/autostart
|
|
fi
|
|
ln -s /home/grey/nixos/assets/dotfiles/takamaki/autostart-config /home/grey/.config/autostart
|
|
'';
|
|
};
|
|
|
|
home.file.".local/bin/switch-os" = {
|
|
enable = true;
|
|
force = true;
|
|
executable = true;
|
|
text = ''
|
|
#!/usr/bin/env bash
|
|
sudo efibootmgr --bootnext 0000
|
|
sudo reboot
|
|
'';
|
|
};
|
|
|
|
home.file.".local/bin/universal-shutdown" = {
|
|
enable = true;
|
|
force = true;
|
|
executable = true;
|
|
text = ''
|
|
#!/usr/bin/env bash
|
|
sudo systemctl poweroff
|
|
'';
|
|
};
|
|
|
|
home.file.".local/bin/universal-reboot" = {
|
|
enable = true;
|
|
force = true;
|
|
executable = true;
|
|
text = ''
|
|
#!/usr/bin/env bash
|
|
sudo reboot
|
|
'';
|
|
};
|
|
}
|