organisation + move config for all devices to 'global' counterparts

This commit is contained in:
greyweather committed 2026-07-04 20:36:27 +01:00
1 parent f73926592f
commit be100cfe97
10 files changed
+245 -114

No files matched your search

-122
View File
@@ -1,122 +0,0 @@
{
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 = "";
}
];
};
};
}
-130
View File
@@ -1,130 +0,0 @@
{
pkgs,
lib,
...
}: {
home.packages = [
pkgs.bibata-cursors
pkgs.papirus-icon-theme
pkgs.kdePackages.oxygen
pkgs.kdePackages.oxygen-sounds
];
home.activation = {
linkThemingAssets = lib.hm.dag.entryAfter ["writeBoundary"] ''
#!/bin/bash
if [ ! -d /home/grey/.local/share/wallpapers/ExposeAir ]; then
mkdir -p /home/grey/.local/share/wallpapers
ln -s /home/grey/nixos/assets/expose-air/wallpapers/ExposeAir /home/grey/.local/share/wallpapers/ExposeAir
fi
if [ ! -f /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors ]; then
mkdir -p /home/grey/.local/share/color-schemes
ln -s /home/grey/nixos/assets/OxygenDarkEdit.colors /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors
fi
if [ ! -f /home/grey/.config/oxygenrc ]; then
ln -s /home/grey/nixos/assets/oxygenrc /home/grey/.config/oxygenrc
fi
if [ ! -d /home/grey/.local/share/plasma/desktoptheme/exposeair ]; then
mkdir -p /home/grey/.local/share/plasma/desktoptheme
ln -s /home/grey/nixos/assets/expose-air/desktoptheme/exposeair /home/grey/.local/share/plasma/desktoptheme/exposeair
fi
'';
};
programs.plasma = {
enable = true;
overrideConfig = true;
session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
input.keyboard.numlockOnStartup = "on";
workspace = {
clickItemTo = "select";
colorScheme = "OxygenDarkEdit";
cursor = {
size = 22;
theme = "Bibata-Modern-Ice";
};
iconTheme = "Papirus-Dark";
theme = "exposeair";
wallpaper = "/home/grey/.local/share/wallpapers/ExposeAir/contents/images/2560x1440.png";
windowDecorations = {
library = "org.kde.oxygen";
theme = "oxygen";
};
soundTheme = "oxygen";
};
hotkeys.commands."rebuild-flake" = {
name = "Rebuild NixOS Flake";
key = "Meta+Z";
command = "kitty --hold bash -c \"nh os switch /home/grey/nixos; if [ \\$? == 0 ]; then exit; fi\"";
};
shortcuts = {
plasmashell = {
"Show Activity Switcher" = "none";
"manage activities" = "none";
};
kwin = {
"Close Window" = "Meta+Q";
"Window Close" = "Meta+Q";
};
"services/kitty.desktop"."_launch" = "Meta+Return";
};
panels = [
{
location = "bottom";
widgets = [
{
name = "org.kde.plasma.kickoff";
config = {
General = {
icon = "nix-snowflake";
};
};
}
{
name = "org.kde.plasma.icontasks";
config = {
iconsOnly = true;
launchers = [
"applications:zen-beta.desktop"
"applications:thunderbird.desktop"
"applications:org.kde.dolphin.desktop"
"applications:equibop.desktop"
"applications:spotify.desktop"
"applications:steam.desktop"
"applications:org.prismlauncher.PrismLauncher.desktop"
"applications:obsidian.desktop"
"applications:github-desktop.desktop"
"applications:unityhub.desktop"
"applications:org.godotengine.Godot4.6.desktop"
"applications:code.desktop"
"applications:idea.desktop"
"applications:clion.desktop"
"applications:com.obsproject.Studio.desktop"
"applications:proton.vpn.app.gtk.desktop"
"applications:systemsettings.desktop"
"applications:io.ente.auth.desktop"
"applications:io.github.ilya_zlobintsev.LACT.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
"org.kde.plasma.showdesktop"
];
height = 48;
}
];
};
}