Set core.editor to vi; add Plasma wallpaper option; persist /etc
This commit is contained in:
parent
15769eda74
commit
f5595cad1a
6 changed files with 36 additions and 13 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
name = "RingOfStorms (Joshua Bell)";
|
name = "RingOfStorms (Joshua Bell)";
|
||||||
};
|
};
|
||||||
core.pager = "bat";
|
core.pager = "bat";
|
||||||
core.editor = "nano";
|
core.editor = "vi";
|
||||||
|
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,15 @@ in
|
||||||
description = "Enable Breeze Dark, GTK Breeze-Dark, and dark cursors.";
|
description = "Enable Breeze Dark, GTK Breeze-Dark, and dark cursors.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wallpapers = mkOption {
|
||||||
|
type = types.listOf types.path;
|
||||||
|
default = [
|
||||||
|
../../hosts/_shared_assets/wallpapers/pixel_neon.png
|
||||||
|
../../hosts/_shared_assets/wallpapers/pixel_neon_v.png
|
||||||
|
];
|
||||||
|
description = "List of wallpaper paths to set system-wide for immediate loading.";
|
||||||
|
};
|
||||||
|
|
||||||
sddm.autologinUser = mkOption {
|
sddm.autologinUser = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
|
|
@ -197,6 +206,17 @@ in
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(mkIf ((length cfg.wallpapers) > 0) {
|
||||||
|
environment.etc."xdg/plasma-org.kde.plasma.desktop-appletsrc".text =
|
||||||
|
let
|
||||||
|
wallpaperPath = builtins.head cfg.wallpapers;
|
||||||
|
in
|
||||||
|
''
|
||||||
|
[Containments][1][Wallpaper][org.kde.image][General]
|
||||||
|
Image=file://${wallpaperPath}
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
|
||||||
# GPU blocks
|
# GPU blocks
|
||||||
(mkIf cfg.gpu.amd.enable {
|
(mkIf cfg.gpu.amd.enable {
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
|
|
||||||
|
|
@ -294,10 +294,6 @@ in
|
||||||
lookAndFeel = "org.kde.breezedark.desktop";
|
lookAndFeel = "org.kde.breezedark.desktop";
|
||||||
theme = "breeze-dark";
|
theme = "breeze-dark";
|
||||||
cursor.theme = "breeze_cursors";
|
cursor.theme = "breeze_cursors";
|
||||||
wallpaper = [
|
|
||||||
../../../hosts/_shared_assets/wallpapers/pixel_neon.png
|
|
||||||
../../../hosts/_shared_assets/wallpapers/pixel_neon_v.png
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = {
|
configFile = {
|
||||||
|
|
|
||||||
16
hosts/juni/flake.lock
generated
16
hosts/juni/flake.lock
generated
|
|
@ -39,11 +39,11 @@
|
||||||
"common": {
|
"common": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "flakes/common",
|
"dir": "flakes/common",
|
||||||
"lastModified": 1768000280,
|
"lastModified": 1768255305,
|
||||||
"narHash": "sha256-JegPSldfsBcANqnV53mEAQOx/Fv22hUd0G2VTZGUR8Y=",
|
"narHash": "sha256-XcXl5M0WNYhCCqE9qc9Aj2/2Jb/T0NHZnu2ZuVBvlHw=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "a4e2cc00d86d2f3401918cfdf9f0643939871a42",
|
"rev": "15769eda748f6fcc6fdab04f79f14ed9b1ffc548",
|
||||||
"revCount": 1115,
|
"revCount": 1125,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
||||||
},
|
},
|
||||||
|
|
@ -59,11 +59,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "flakes/de_plasma",
|
"dir": "flakes/de_plasma",
|
||||||
"lastModified": 1768000280,
|
"lastModified": 1768255305,
|
||||||
"narHash": "sha256-JegPSldfsBcANqnV53mEAQOx/Fv22hUd0G2VTZGUR8Y=",
|
"narHash": "sha256-XcXl5M0WNYhCCqE9qc9Aj2/2Jb/T0NHZnu2ZuVBvlHw=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "a4e2cc00d86d2f3401918cfdf9f0643939871a42",
|
"rev": "15769eda748f6fcc6fdab04f79f14ed9b1ffc548",
|
||||||
"revCount": 1115,
|
"revCount": 1125,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
gpu.intel.enable = true;
|
gpu.intel.enable = true;
|
||||||
sddm.autologinUser = "josh";
|
sddm.autologinUser = "josh";
|
||||||
|
wallpapers = [
|
||||||
|
../../_shared_assets/wallpapers/pixel_neon.png
|
||||||
|
../../_shared_assets/wallpapers/pixel_neon_v.png
|
||||||
|
];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
inputs.common.nixosModules.jetbrains_font
|
inputs.common.nixosModules.jetbrains_font
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,9 @@
|
||||||
files = [
|
files = [
|
||||||
"/machine-key.json"
|
"/machine-key.json"
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
"/etc/localtime"
|
||||||
|
"/etc/timezone"
|
||||||
|
"/etc/adjtime"
|
||||||
# NOTE: if you want mutable passwords across reboots, persist these,
|
# NOTE: if you want mutable passwords across reboots, persist these,
|
||||||
# but you must do a one-time migration (see notes in chat).
|
# but you must do a one-time migration (see notes in chat).
|
||||||
# "/etc/shadow"
|
# "/etc/shadow"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue