zsh, kitty, fastfetch config
This commit is contained in:
7 files changed
+166
-37
No files matched your search
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
@@ -7,6 +7,5 @@
|
|||||||
inputs.home-manager.packages.${system}.default
|
inputs.home-manager.packages.${system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.grey.isNormalUser = true;
|
|
||||||
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
||||||
}
|
}
|
||||||
@@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -8,10 +8,13 @@
|
|||||||
enableQt5Integration = true;
|
enableQt5Integration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.plasma6.excludePackages = with pkgs; [
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||||
# kdepackages.<package>
|
konsole
|
||||||
|
qrca
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.displayManager.defaultSession = "plasma";
|
||||||
|
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "breeze";
|
theme = "breeze";
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../flakes/nh.nix
|
../../flakes/nh.nix
|
||||||
../../flakes/plasma-desktop-modified.nix
|
../../flakes/plasma-desktop.nix
|
||||||
../../flakes/home-manager.nix
|
../../flakes/home-manager.nix
|
||||||
../../flakes/zen-browser.nix
|
../../flakes/zen-browser.nix
|
||||||
];
|
];
|
||||||
@@ -20,8 +20,6 @@
|
|||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
@@ -71,6 +69,9 @@
|
|||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.virtualbox.guest.enable = true;
|
||||||
|
virtualisation.virtualbox.guest.dragAndDrop = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@@ -81,6 +82,10 @@
|
|||||||
pkgs.git
|
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
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|||||||
@@ -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
@@ -1,15 +1,19 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [
|
||||||
|
./fastfetch.nix
|
||||||
|
];
|
||||||
|
|
||||||
home.username = "grey";
|
home.username = "grey";
|
||||||
home.homeDirectory = "/home/grey";
|
home.homeDirectory = "/home/grey";
|
||||||
|
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.kitty
|
|
||||||
pkgs.bibata-cursors
|
pkgs.bibata-cursors
|
||||||
pkgs.papirus-icon-theme
|
pkgs.papirus-icon-theme
|
||||||
pkgs.steam
|
pkgs.steam
|
||||||
@@ -55,6 +59,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
|
home.shell.enableZshIntegration = true;
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
overrideConfig = true;
|
overrideConfig = true;
|
||||||
|
|
||||||
@@ -63,18 +70,41 @@
|
|||||||
lookAndFeel = "org.kde.breezedark.desktop";
|
lookAndFeel = "org.kde.breezedark.desktop";
|
||||||
cursor.theme = "Bibata-Modern-Ice";
|
cursor.theme = "Bibata-Modern-Ice";
|
||||||
iconTheme = "Papirus-Dark";
|
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 = {
|
shortcuts = {
|
||||||
plasmashell = {
|
plasmashell = {
|
||||||
"Show Activity Switcher" = "";
|
"Show Activity Switcher" = "";
|
||||||
};
|
};
|
||||||
|
localVariables = {
|
||||||
|
PATH = "/home/grey/.local/bin:$PATH";
|
||||||
|
};
|
||||||
|
|
||||||
kwin = {
|
kwin = {
|
||||||
"Close Window" = "Meta+Q";
|
"Close Window" = "Meta+Q";
|
||||||
|
};
|
||||||
|
initContent = lib.mkOrder 1500 "fastfetch";
|
||||||
};
|
};
|
||||||
|
|
||||||
"services/kitty.desktop"."_launch" = "Meta+Return";
|
"services/kitty.desktop"."_launch" = "Meta+Return";
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
confirm_os_window_close = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
shellIntegration.enableZshIntegration = true;
|
||||||
|
themeFile = "Arthur";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user