summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-08-08 22:36:09 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-08-08 22:36:09 +1000
commita4af32020c51006fca96f41da2fc6963ee88b9e7 (patch)
tree82ea1116e267820519d1cd8f77088f9a91a35cca
parent2c790a5c1b25f80e104a00935b0b58980c548cb1 (diff)
change wallpaper and pin firefox
-rw-r--r--nix/flake.lock15
-rw-r--r--nix/flake.nix22
2 files changed, 30 insertions, 7 deletions
diff --git a/nix/flake.lock b/nix/flake.lock
index 56b6d41..48e939b 100644
--- a/nix/flake.lock
+++ b/nix/flake.lock
@@ -192,7 +192,8 @@
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nix-wallpaper": "nix-wallpaper",
- "nixpkgs": "nixpkgs_2"
+ "nixpkgs": "nixpkgs_2",
+ "wallpaper-src": "wallpaper-src"
}
},
"systems": {
@@ -209,6 +210,18 @@
"repo": "default",
"type": "github"
}
+ },
+ "wallpaper-src": {
+ "flake": false,
+ "locked": {
+ "narHash": "sha256-ymX7WdlpPyMbTPE1ZljN7+7mhIZypar/MCvTX/RHo4g=",
+ "type": "file",
+ "url": "https://roboticoverlords.org/wallpapers/arch_nz.png"
+ },
+ "original": {
+ "type": "file",
+ "url": "https://roboticoverlords.org/wallpapers/arch_nz.png"
+ }
}
},
"root": "root",
diff --git a/nix/flake.nix b/nix/flake.nix
index 7f21969..b2e8e44 100644
--- a/nix/flake.nix
+++ b/nix/flake.nix
@@ -8,6 +8,9 @@
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
nix-wallpaper.url = "github:lunik1/nix-wallpaper";
+
+ wallpaper-src.url = "https://roboticoverlords.org/wallpapers/arch_nz.png";
+ wallpaper-src.flake = false;
};
outputs =
@@ -17,14 +20,19 @@
nixpkgs,
nix-homebrew,
nix-wallpaper,
+ wallpaper-src,
}:
let
system = "aarch64-darwin";
- wallpaper = nix-wallpaper.packages.${system}.default.override {
- preset = "catppuccin-frappe";
- logoSize = 25;
- };
+ # wallpaper =
+ # nix-wallpaper.packages.${system}.default.override {
+ # preset = "catppuccin-frappe";
+ # logoSize = 20;
+ # }
+ # + "/share/wallpapers/nixos-wallpaper.png";
+
+ wallpaper = wallpaper-src;
configuration =
{
@@ -83,6 +91,7 @@
fonts.packages = [
pkgs.nerd-fonts.jetbrains-mono
+ pkgs.jetbrains-mono
];
homebrew = {
@@ -127,14 +136,15 @@
--target="/Users/melodidey" \
--restow "."
- osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${wallpaper}/share/wallpapers/nixos-wallpaper.png\" as POSIX file"
+ osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${wallpaper}\" as POSIX file"
'';
system.defaults = {
dock.autohide = true;
dock.static-only = false;
dock.persistent-apps = [
- "/System/Cryptexes/App/System/Applications/Safari.app"
+ #"/System/Cryptexes/App/System/Applications/Safari.app"
+ "/Applications/Firefox.app"
"/System/Applications/Music.app"
"/Applications/Discord.app"
"/Applications/Signal.app"