make everything more modular + basic kitagawa config using gnome

This commit is contained in:
greyweather committed 2026-07-05 14:19:03 +01:00
1 parent 1d28c22bfc
commit 01ce9ad9ca
14 files changed
+203 -169

No files matched your search

-91
View File
@@ -1,91 +0,0 @@
{
pkgs,
inputs,
...
}: let
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
in {
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
nativeMessagingHosts = [
pkgs.firefoxpwa
];
policies = {
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
DisableAppUpdate = true;
DisableFeedbackCommands = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
NoDefaultBookmarks = true;
OfferToSaveLogins = false;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
Preferences = {
"browser.startup.homepage" = {
Value = "about:blank";
Status = "locked";
};
};
};
profiles.default = {
settings = {
"zen.urlbar.behavior" = "float";
"zen.welcome-screen.seen" = true;
};
extensions.packages = with firefox-addons; [
adnauseam
bitwarden
indie-wiki-buddy
pwas-for-firefox
];
search = {
force = true;
default = "ddg";
engines = {
nixpkgs = {
name = "nixpkgs packages";
urls = [
{
template = "https://search.nixos.org/packages?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@np"];
};
nixos-options = {
name = "NixOS options";
urls = [
{
template = "https://search.nixos.org/options?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@no"];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [
{
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@nw"];
};
};
};
#keyboardShortcuts = [
# {
# id = "zen"
# }
#];
};
};
}
+3 -5
View File
@@ -13,8 +13,10 @@ in {
../../global-default.nix
./hardware-configuration.nix
"${modules-dir}/nh.nix"
"${modules-dir}/plasma-desktop.nix"
"${modules-dir}/display-managers/sddm.nix"
"${modules-dir}/desktop-environments/plasma6.nix"
"${modules-dir}/home-manager.nix"
"${modules-dir}/zsh.nix"
];
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -26,10 +28,6 @@ in {
virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.dragAndDrop = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
users.users."grey".shell = pkgs.zsh;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
+22 -56
View File
@@ -5,67 +5,33 @@
lib,
...
}: let
global-configs-dir = ../../global-configs;
global-configs = ../../global-configs;
in {
imports = [
../../global-home.nix
"${global-configs-dir}/plasma.nix"
"${global-configs-dir}/fastfetch.nix"
"${global-configs-dir}/zen-browser.nix"
"${global-configs}/plasma.nix"
"${global-configs}/fastfetch.nix"
"${global-configs}/zen-browser.nix"
"${global-configs}/zsh.nix"
"${global-configs}/kitty.nix"
];
home.packages = with pkgs; [
pkgs.steam
pkgs.equibop
pkgs.prismlauncher
pkgs.obsidian
pkgs.github-desktop
pkgs.vscode
pkgs.thunderbird
pkgs.spotify
pkgs.unityhub
pkgs.godot
pkgs.jetbrains.clion
pkgs.jetbrains.idea
pkgs.obs-studio
pkgs.proton-vpn
pkgs.ente-auth
pkgs.lact
steam
equibop
prismlauncher
obsidian
github-desktop
vscode
thunderbird
spotify
unityhub
godot
jetbrains.clion
jetbrains.idea
obs-studio
proton-vpn
ente-auth
lact
];
home.shell.enableZshIntegration = true;
programs.zsh = {
enable = true;
antidote = {
enable = true;
plugins = [
"getantidote/use-omz"
"ohmyzsh/ohmyzsh path:lib"
"ohmyzsh/ohmyzsh path:plugins/pip"
"ohmyzsh/ohmyzsh path:plugins/command-not-found"
"ohmyzsh/ohmyzsh path:themes/nanotech.zsh-theme"
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-syntax-highlighting"
];
};
localVariables = {
PATH = "/home/grey/.local/bin:$PATH";
};
initContent = lib.mkOrder 1500 "fastfetch";
};
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = -1;
};
shellIntegration.enableBashIntegration = true;
shellIntegration.enableZshIntegration = true;
themeFile = "Arthur";
};
}