zsh, kitty, fastfetch config

This commit is contained in:
greyweather committed 2026-07-03 00:55:51 +01:00
1 parent 4797c9b07d
commit a67d5bdeed
7 files changed
+166 -37

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

-1
View File
@@ -7,6 +7,5 @@
inputs.home-manager.packages.${system}.default
];
users.users.grey.isNormalUser = true;
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
}
-30
View File
@@ -1,30 +0,0 @@
{
config,
pkgs,
...
}: {
services.desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
qrca
];
services.displayManager.defaultSession = "plasma";
services.displayManager.sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
enableHidpi = true;
settings = {
Autologin = {
Session = "plasma.desktop";
User = "grey";
};
};
};
}
+5 -2
View File
@@ -8,10 +8,13 @@
enableQt5Integration = true;
};
environment.plasma6.excludePackages = with pkgs; [
# kdepackages.<package>
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
qrca
];
services.displayManager.defaultSession = "plasma";
services.displayManager.sddm = {
enable = true;
theme = "breeze";
+8 -3
View File
@@ -10,7 +10,7 @@
imports = [
./hardware-configuration.nix
../../flakes/nh.nix
../../flakes/plasma-desktop-modified.nix
../../flakes/plasma-desktop.nix
../../flakes/home-manager.nix
../../flakes/zen-browser.nix
];
@@ -20,8 +20,6 @@
"flakes"
];
virtualisation.virtualbox.guest.enable = true;
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -71,6 +69,9 @@
packages = with pkgs; [];
};
virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.dragAndDrop = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -81,6 +82,10 @@
pkgs.git
];
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;
+122
View File
@@ -0,0 +1,122 @@
{
pkgs,
...
}: {
programs.fastfetch = {
enable = true;
settings = {
logo = {
source = "/home/grey/nixos/assets/jiji.jpg";
width = 25;
padding = {
top = 1;
left = 2;
right = 2;
};
};
modules = [
{
type = "separator";
string = " ";
times = 0;
}
{
type = "title";
color = {
user = "green";
host = "green";
};
}
{
type = "separator";
string = "-";
times = 0;
}
{
type = "os";
}
{
type = "kernel";
}
{
type = "uptime";
}
{
type = "shell";
}
{
type = "de";
}
{
type = "terminal";
}
{
type = "cpu";
temp = false;
showPeCoreCount = false;
}
{
type = "gpu";
driverSpecific = false;
detectionMethod = "pci";
temp = false;
hideType = "integrated";
percent = {
green = 50;
yellow = 80;
type = 0;
};
}
{
type = "memory";
percent = {
green = 50;
yellow = 80;
type = 0;
};
}
{
type = "swap";
percent = {
green = 50;
yellow = 80;
type = 0;
};
separate = false;
}
{
type = "disk";
showRegular = true;
showExternal = false;
showHidden = false;
showSubvolumes = false;
showReadOnly = true;
ShowUnknown = false;
hideFolders = "/efi:/boot:/boot/*:/run/media/*";
useAvailable = false;
percent = {
green = 50;
yellow = 80;
type = 0;
};
}
{
type = "localip";
showIpv4 = true;
showIpv6 = false;
showMac = false;
showLoop = false;
showPrefixLen = true;
showMtu = false;
showSpeed = false;
showFlags = false;
compact = false;
defaultRouteOnly = true;
showAllIps = false;
namePrefix = "";
}
];
};
};
}
+31 -1
View File
@@ -1,15 +1,19 @@
{
config,
pkgs,
lib,
...
}: {
imports = [
./fastfetch.nix
];
home.username = "grey";
home.homeDirectory = "/home/grey";
home.stateVersion = "26.05";
home.packages = [
pkgs.kitty
pkgs.bibata-cursors
pkgs.papirus-icon-theme
pkgs.steam
@@ -55,6 +59,9 @@
};
programs.plasma = {
home.shell.enableZshIntegration = true;
programs.zsh = {
enable = true;
overrideConfig = true;
@@ -63,18 +70,41 @@
lookAndFeel = "org.kde.breezedark.desktop";
cursor.theme = "Bibata-Modern-Ice";
iconTheme = "Papirus-Dark";
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"
];
};
shortcuts = {
plasmashell = {
"Show Activity Switcher" = "";
};
localVariables = {
PATH = "/home/grey/.local/bin:$PATH";
};
kwin = {
"Close Window" = "Meta+Q";
};
initContent = lib.mkOrder 1500 "fastfetch";
};
"services/kitty.desktop"."_launch" = "Meta+Return";
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = -1;
};
shellIntegration.enableZshIntegration = true;
themeFile = "Arthur";
};
}