Compare commits
No commits in common. "44ee0f1e5bc38440378f137b9c8bb0fce9af0755" and "3e0a4bb725e51a6048f8445169633aa0399ccc2b" have entirely different histories.
44ee0f1e5b
...
3e0a4bb725
|
@ -53,10 +53,10 @@
|
||||||
accentColourName = "base0E";
|
accentColourName = "base0E";
|
||||||
fonts = with iosevkaCustom; rec {
|
fonts = with iosevkaCustom; rec {
|
||||||
sizes = {
|
sizes = {
|
||||||
applications = 12;
|
applications = 14;
|
||||||
desktop = 10;
|
desktop = 12;
|
||||||
popups = 14;
|
popups = 16;
|
||||||
terminal = 12;
|
terminal = 14;
|
||||||
};
|
};
|
||||||
serif = sansSerif;
|
serif = sansSerif;
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
|
|
|
@ -8,10 +8,7 @@
|
||||||
./desktop/plasma/default.nix
|
./desktop/plasma/default.nix
|
||||||
];
|
];
|
||||||
programs.plasma = lib.mkIf config.programs.plasma.enable {
|
programs.plasma = lib.mkIf config.programs.plasma.enable {
|
||||||
configFile = {
|
configFile.kcminputrc."Libinput/1160/4132/DELL0A21:00 0488:1024 Touchpad".NaturalScroll = true;
|
||||||
kcminputrc."Libinput/1160/4132/DELL0A21:00 0488:1024 Touchpad".NaturalScroll = true;
|
|
||||||
kwinrc."Tiling/8c3e40a5-6d02-561d-be90-abdf39b7afe6"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
wayland.windowManager.sway = lib.mkIf config.wayland.windowManager.sway.enable {
|
wayland.windowManager.sway = lib.mkIf config.wayland.windowManager.sway.enable {
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
with scheme.withHashtag; ''
|
with scheme.withHashtag; ''
|
||||||
// Remove rounded corners
|
// Remove rounded corners
|
||||||
window.background { border-radius: 0; }
|
window.background { border-radius: 5; }
|
||||||
@define-color accent_color ${scheme.withHashtag."${accentColourName}-hex"};
|
@define-color accent_color ${scheme.withHashtag."${accentColourName}-hex"};
|
||||||
@define-color accent_bg_color ${scheme.withHashtag."${accentColourName}-hex"};
|
@define-color accent_bg_color ${scheme.withHashtag."${accentColourName}-hex"};
|
||||||
@define-color accent_fg_color ${base00-hex};
|
@define-color accent_fg_color ${base00-hex};
|
||||||
|
|
|
@ -51,17 +51,26 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
gtk3 = {inherit extraCss;};
|
gtk3 = {inherit extraCss;};
|
||||||
gtk4 = {inherit extraCss;};
|
gtk4 = {inherit extraCss;};
|
||||||
theme = {
|
theme = let
|
||||||
package = pkgs.materia-theme;
|
color = "purple";
|
||||||
name = "Materia-${config.scheme.variant}";
|
in {
|
||||||
|
package = pkgs.colloid-gtk-theme.override {
|
||||||
|
themeVariants = [color];
|
||||||
|
colorVariants = [config.scheme.variant];
|
||||||
|
};
|
||||||
|
name = "Colloid-${toCapital color}-${toCapital config.scheme.variant}";
|
||||||
};
|
};
|
||||||
iconTheme = let
|
iconTheme = let
|
||||||
color = "violet";
|
color = "breeze";
|
||||||
in {
|
in {
|
||||||
package = pkgs.papirus-icon-theme.override {inherit color;};
|
package = pkgs.papirus-icon-theme.override {inherit color;};
|
||||||
name = "Papirus-${toCapital config.scheme.variant}";
|
name = "Papirus-${toCapital config.scheme.variant}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# qt = {
|
||||||
|
# enable = true;
|
||||||
|
# style.name = "breeze";
|
||||||
|
# };
|
||||||
xdg = {
|
xdg = {
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
mimeApps = let
|
mimeApps = let
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
fonts,
|
fonts,
|
||||||
rc2nix,
|
rc2nix,
|
||||||
accentColourName,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -14,7 +13,6 @@
|
||||||
rc2nix
|
rc2nix
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
colloid-kde
|
colloid-kde
|
||||||
materia-kde-theme
|
|
||||||
];
|
];
|
||||||
services.gpg-agent.pinentryPackage = pkgs.pinentry-qt;
|
services.gpg-agent.pinentryPackage = pkgs.pinentry-qt;
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
|
@ -24,13 +22,13 @@
|
||||||
workspace = {
|
workspace = {
|
||||||
clickItemTo = "open";
|
clickItemTo = "open";
|
||||||
lookAndFeel = "org.kde.breeze.desktop";
|
lookAndFeel = "org.kde.breeze.desktop";
|
||||||
theme = "default";
|
theme = "breeze-light";
|
||||||
colorScheme = "BreezeLight";
|
colorScheme = "BreezeLight";
|
||||||
cursor = {
|
cursor = {
|
||||||
inherit (config.home.pointerCursor) size;
|
inherit (config.home.pointerCursor) size;
|
||||||
theme = config.home.pointerCursor.name;
|
theme = config.home.pointerCursor.name;
|
||||||
};
|
};
|
||||||
iconTheme = config.gtk.iconTheme.name;
|
iconTheme = "Papirus";
|
||||||
wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}";
|
wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -186,38 +184,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kdeglobals = {
|
kdeglobals = {
|
||||||
General = let
|
General = {
|
||||||
AccentColor = let
|
|
||||||
r = config.scheme."${accentColourName}-rgb-r";
|
|
||||||
g = config.scheme."${accentColourName}-rgb-g";
|
|
||||||
b = config.scheme."${accentColourName}-rgb-b";
|
|
||||||
in "${r}, ${g}, ${b}";
|
|
||||||
in {
|
|
||||||
inherit AccentColor;
|
|
||||||
LastUsedCustomAccentColor = AccentColor;
|
|
||||||
TerminalApplication = "konsole";
|
TerminalApplication = "konsole";
|
||||||
TerminalService = "org.kde.konsole.desktop";
|
TerminalService = "org.kde.konsole.desktop";
|
||||||
};
|
};
|
||||||
WM = {
|
|
||||||
# TODO convert to base16 colours at some point
|
|
||||||
activeBackground = "227,229,231";
|
|
||||||
activeBlend = "227,229,231";
|
|
||||||
activeForeground = "35,38,41";
|
|
||||||
inactiveBackground = "239,240,241";
|
|
||||||
inactiveBlend = "239,240,241";
|
|
||||||
inactiveForeground = "112,125,138";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
kwinrc = {
|
kwinrc = {
|
||||||
Plugins = {
|
Plugins = {
|
||||||
frozenappEnabled = false;
|
frozenappEnabled = false;
|
||||||
mouseclickEnabled = true;
|
mouseclickEnabled = true;
|
||||||
shakecursorEnabled = false;
|
shakecursorEnabled = true;
|
||||||
};
|
};
|
||||||
Windows = {
|
Windows = {
|
||||||
FocusPolicy = "FocusFollowsMouse";
|
FocusPolicy = "FocusFollowsMouse";
|
||||||
RollOverDesktops = true;
|
RollOverDesktops = true;
|
||||||
};
|
};
|
||||||
|
Tiling.padding = 10;
|
||||||
NightColor = {
|
NightColor = {
|
||||||
Active = true;
|
Active = true;
|
||||||
Mode = "Location";
|
Mode = "Location";
|
||||||
|
@ -225,17 +207,11 @@
|
||||||
LongitudeFixed = "-1.2";
|
LongitudeFixed = "-1.2";
|
||||||
};
|
};
|
||||||
"Effect-translucency" = {
|
"Effect-translucency" = {
|
||||||
# Re-enable translucency when I can work out how to apply
|
|
||||||
# blur to all windows
|
|
||||||
Inactive = 100;
|
Inactive = 100;
|
||||||
MoveResize = 100;
|
MoveResize = 80;
|
||||||
Dialogs = 100;
|
Dialogs = 80;
|
||||||
ComboboxPopups = 100;
|
ComboboxPopups = 80;
|
||||||
Menus = 100;
|
Menus = 80;
|
||||||
};
|
|
||||||
"org.kde.kdecoration2" = {
|
|
||||||
BorderSize = "None";
|
|
||||||
BorderSizeAuto = "false";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
fonts,
|
fonts,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = [pkgs.kdePackages.yakuake];
|
||||||
programs.konsole = {
|
programs.konsole = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultProfile = "One-Light";
|
defaultProfile = "One-Light";
|
||||||
|
|
|
@ -94,7 +94,7 @@ Blur=true
|
||||||
ColorRandomization=false
|
ColorRandomization=false
|
||||||
Description=One Light
|
Description=One Light
|
||||||
FillStyle=Tile
|
FillStyle=Tile
|
||||||
Opacity=1.0
|
Opacity=0.9
|
||||||
Wallpaper=
|
Wallpaper=
|
||||||
WallpaperFlipType=NoFlip
|
WallpaperFlipType=NoFlip
|
||||||
WallpaperOpacity=1
|
WallpaperOpacity=1
|
||||||
|
|
|
@ -8,7 +8,10 @@
|
||||||
twinkle
|
twinkle
|
||||||
(import ./scripts/ukaea-vpn.nix pkgs)
|
(import ./scripts/ukaea-vpn.nix pkgs)
|
||||||
];
|
];
|
||||||
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
|
programs = {
|
||||||
|
git.userEmail = config.accounts.email.accounts.outlook.address;
|
||||||
|
firefox.policies.Homepage.URL = "https://nucleus.ukaea.uk";
|
||||||
|
};
|
||||||
accounts.email.accounts = {
|
accounts.email.accounts = {
|
||||||
proton.primary = lib.mkForce false;
|
proton.primary = lib.mkForce false;
|
||||||
outlook.primary = lib.mkForce true;
|
outlook.primary = lib.mkForce true;
|
||||||
|
|
Loading…
Reference in a new issue