2024-04-13 19:42:15 +00:00
|
|
|
{ inputs, config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
#home-manager.users.insert= { pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
./home-files.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = [
|
|
|
|
pkgs.git
|
|
|
|
pkgs.fluffychat
|
|
|
|
pkgs.cinny-desktop
|
2024-04-13 20:27:31 +00:00
|
|
|
pkgs.firefox
|
|
|
|
pkgs.kate
|
2024-04-14 20:01:23 +00:00
|
|
|
pkgs.godot_4
|
|
|
|
pkgs.filezilla
|
2024-04-13 19:42:15 +00:00
|
|
|
pkgs.libsForQt5.lightly
|
|
|
|
pkgs.pfetch
|
|
|
|
pkgs.git-credential-oauth
|
|
|
|
pkgs.wayvnc
|
|
|
|
pkgs.android-tools
|
|
|
|
pkgs.gnome.eog
|
|
|
|
pkgs.libsForQt5.gwenview
|
|
|
|
pkgs.libsForQt5.qtstyleplugins
|
|
|
|
pkgs.libsForQt5.qt5ct
|
2024-04-14 15:27:26 +00:00
|
|
|
pkgs.oh-my-zsh
|
2024-04-13 19:42:15 +00:00
|
|
|
pkgs.kubectl
|
|
|
|
pkgs.kubernetes-helm
|
|
|
|
pkgs.vscodium
|
|
|
|
#pkgs.atool
|
|
|
|
#pkgs.httpie
|
|
|
|
pkgs.webcord
|
|
|
|
pkgs.pika-backup
|
|
|
|
pkgs.tigervnc
|
|
|
|
pkgs.syncthing
|
|
|
|
pkgs.zsh-syntax-highlighting
|
|
|
|
pkgs.zsh-history-substring-search
|
|
|
|
pkgs.kitty
|
|
|
|
pkgs.grim
|
|
|
|
pkgs.slurp
|
|
|
|
pkgs.prismlauncher
|
|
|
|
pkgs.glfw-wayland-minecraft
|
|
|
|
];
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
|
2024-04-19 14:11:58 +00:00
|
|
|
programs.vscode = {
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
extensions = [
|
|
|
|
pkgs.vscode-extensions.catppuccin.catppuccin-vsc
|
|
|
|
pkgs.vscode-extensions.catppuccin.catppuccin-vsc-icons
|
|
|
|
pkgs.vscode-extensions.ms-python.python
|
|
|
|
pkgs.vscode-extensions.ms-python.vscode-pylance
|
|
|
|
pkgs.vscode-extensions.jnoortheen.nix-ide
|
|
|
|
];
|
|
|
|
userSettings = {
|
|
|
|
"workbench.colorTheme" = "Catppuccin Frappé";
|
|
|
|
"workbench.iconTheme" = "catppuccin-frappe";
|
|
|
|
"git.enableSmartCommit" = true;
|
|
|
|
"editor.fontFamily" = "'Monocraft Nerd Font'";
|
|
|
|
"editor.fontSize" = 16;
|
2024-04-19 14:15:50 +00:00
|
|
|
"files.autoSave" = "off";
|
|
|
|
"window.menuBarVisibility" = "toggle";
|
2024-04-19 14:11:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-04-13 19:42:15 +00:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
iconTheme = {
|
|
|
|
name = "Papirus-Dark";
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
};
|
|
|
|
cursorTheme = {
|
|
|
|
name = "Catppuccin-Frappe-Blue-Cursors";
|
|
|
|
package = pkgs.catppuccin-cursors.frappeBlue;
|
|
|
|
size = 24;
|
|
|
|
};
|
|
|
|
theme = {
|
|
|
|
name = "Catppuccin-Frappe-Standard-Mauve-Dark";
|
|
|
|
package = pkgs.catppuccin-gtk.override {
|
|
|
|
accents = [ "mauve" ];
|
|
|
|
size = "standard";
|
|
|
|
#tweaks = [ "black" ];
|
|
|
|
variant = "frappe";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
Settings = ''
|
|
|
|
gtk-application-prefer-dark-theme=1
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk4.extraConfig = {
|
|
|
|
Settings = ''
|
|
|
|
gtk-application-prefer-dark-theme=1
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
programs.nnn = {
|
|
|
|
enable = true;
|
|
|
|
#plugins = { "launch", "imgview" };
|
|
|
|
plugins.src = (pkgs.fetchFromGitHub {
|
|
|
|
owner = "jarun";
|
|
|
|
repo = "nnn";
|
|
|
|
rev = "v4.9";
|
|
|
|
sha256 = "sha256-Hpc8YaJeAzJoEi7aJ6DntH2VLkoR6ToP6tPYn3llR7k=";
|
|
|
|
}) + "/plugins";
|
|
|
|
plugins.mappings = {
|
|
|
|
l = "launch";
|
|
|
|
v = "imgview";
|
|
|
|
g = "getplugs";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
accounts.email = {
|
|
|
|
accounts.insert = {
|
|
|
|
address = "insert@insertapp.net";
|
|
|
|
gpg = {
|
|
|
|
key = "A70775C389ACF105";
|
|
|
|
signByDefault = true;
|
|
|
|
};
|
|
|
|
imap.host = "imap.purelymail.com";
|
|
|
|
imap.port = 993;
|
|
|
|
primary = true;
|
|
|
|
realName = "Insert";
|
|
|
|
smtp = {
|
|
|
|
host = "smtp.purelymail.com";
|
|
|
|
port = 465;
|
|
|
|
};
|
|
|
|
passwordCommand = "cat ${config.age.secrets.email.path}";
|
|
|
|
userName = "insert@insertapp.net";
|
|
|
|
#notmuch.enable = true;
|
|
|
|
thunderbird.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#programs.notmuch.enable = true;
|
|
|
|
programs.himalaya.enable = false;
|
|
|
|
programs.thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
profiles.insert = {
|
|
|
|
#name = "Insert";
|
|
|
|
isDefault = true;
|
|
|
|
withExternalGnupg = false;
|
|
|
|
settings = {"mail.openpgp.alternative_gpg_path" = "/run/current-system/sw/bin/gpg-agent";};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.librewolf.enable = true;
|
|
|
|
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "insert";
|
|
|
|
userEmail = "insert@insertapp.net";
|
|
|
|
signing = {
|
|
|
|
key = "A70775C389ACF105";
|
|
|
|
signByDefault = true;
|
|
|
|
};
|
|
|
|
};
|
2024-04-14 15:27:26 +00:00
|
|
|
programs.thefuck.enable = true;
|
2024-04-13 19:42:15 +00:00
|
|
|
programs.git-credential-oauth.enable = true;
|
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
|
|
|
theme = "Catppuccin-Frappe";
|
|
|
|
settings = {
|
|
|
|
font_family = "Monocraft Nerd Font";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
shellAliases = {
|
|
|
|
update = "sudo nixos-rebuild switch --flake /home/insert/Documents/nixos# -v --impure --upgrade --option commit-lockfile-summary 'Update flake.lock' --commit-lock-file";
|
|
|
|
update-locked = "sudo nixos-rebuild switch --flake /home/insert/Documents/nixos# -v --impure";
|
2024-04-20 21:40:30 +00:00
|
|
|
update-boot = "sudo nixos-rebuild boot --flake /home/insert/Documents/nixos# -v --impure";
|
2024-04-13 19:42:15 +00:00
|
|
|
garbage = "nix-collect-garbage";
|
|
|
|
};
|
|
|
|
initExtra = ''
|
|
|
|
|
|
|
|
source ~/.p10k.zsh
|
|
|
|
export TERM=xterm-256color
|
|
|
|
PF_INFO="ascii title os kernel uptime pkgs memory wm de palette" pfetch
|
|
|
|
|
|
|
|
'';
|
|
|
|
plugins = [
|
|
|
|
{name = "powerlevel10k";src = pkgs.zsh-powerlevel10k;file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";}
|
2024-04-14 16:11:29 +00:00
|
|
|
{
|
|
|
|
name = "zsh-nix-shell";
|
|
|
|
file = "nix-shell.plugin.zsh";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "chisui";
|
|
|
|
repo = "zsh-nix-shell";
|
|
|
|
rev = "v0.8.0";
|
|
|
|
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
|
|
|
};
|
|
|
|
}
|
2024-04-13 19:42:15 +00:00
|
|
|
];
|
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
historySubstringSearch.enable = true;
|
|
|
|
autosuggestion.enable = true;
|
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [ "git" "kubectl" ];
|
|
|
|
#theme = "powerlevel10k/powerlevel10k";
|
|
|
|
};
|
|
|
|
};
|
2024-04-17 14:19:00 +00:00
|
|
|
|
|
|
|
programs.swaylock.enable = false;
|
|
|
|
wayland.windowManager.sway = {
|
|
|
|
enable = true;
|
|
|
|
extraOptions = [ "--unsupported-gpu" ];
|
|
|
|
config = rec {
|
|
|
|
modifier = "Mod1";
|
|
|
|
# Use kitty as default terminal
|
|
|
|
terminal = "kitty";
|
|
|
|
startup = [
|
|
|
|
# Launch Firefox on start
|
|
|
|
{command = "wayvnc 100.120.210.58";}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-04-13 19:42:15 +00:00
|
|
|
home.stateVersion = "23.05";
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|