imnyang/nix-flakes
Watch
1
0
Fork
You've already forked nix-flakes
0
This commit is contained in:
암냥 2026-10-04 12:59:42 +09:00
commit ef437d5b15
No known key found for this signature in database
18 changed files with 222 additions and 86 deletions

BIN
assets/mizukios-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

163
flake.lock generated
View file

@ -3,11 +3,11 @@
"amiaBot": { "amiaBot": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1789784195, "lastModified": 1790720710,
"narHash": "sha256-uI5BZV/7f3Yp9O2Bgvt/W+mbdx4gm8rpOaOa427nwsU=", "narHash": "sha256-FDpKFzKSgIXksR87luW98hpDfhT0DI7YL2tjO69HAWE=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "36af054fea1157e3157b8e062d4472ac2ed0d4c7", "rev": "e242cebc9ed5d168d1eca4686a1f99d82f5650b8",
"revCount": 47, "revCount": 57,
"type": "git", "type": "git",
"url": "ssh://forgejo@mizuki.guru/imnyang/amia" "url": "ssh://forgejo@mizuki.guru/imnyang/amia"
}, },
@ -105,11 +105,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1789909650, "lastModified": 1791000063,
"narHash": "sha256-vvgXKa/f3phiRF1vuMDzKT+qwWkEN+BK4fx5hiDHfGI=", "narHash": "sha256-c31ri7SpsdKZoOimPbasl4hjoZlu8/bsI0TCfbJ60LU=",
"owner": "ilysenko", "owner": "ilysenko",
"repo": "codex-desktop-linux", "repo": "codex-desktop-linux",
"rev": "49d5bc1c38aba9d25c1c798c1fffad8918390ae1", "rev": "d0936534b3269e9c5f509bf2aa32dc3746879286",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -126,11 +126,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1789798530, "lastModified": 1790950222,
"narHash": "sha256-PyM1lBpdfnqFzqmr+v/DxHI5aJuBGAuY1Qi1PfrAiaE=", "narHash": "sha256-5pIC7xGO441yD7ARxGSrEvydiBnOX4eTeuVuwhCfAyQ=",
"owner": "chojs23", "owner": "chojs23",
"repo": "concord", "repo": "concord",
"rev": "e1e019b131262adf8eb2dcb26086d7a1dc14d3f1", "rev": "5bac7a24165d975eb140192d4f62e08ddea282ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -177,11 +177,11 @@
"dots-hyprland": { "dots-hyprland": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1789354057, "lastModified": 1791021215,
"narHash": "sha256-JRDhxNjnX6IN5BFLhrnVO6xHGdDmb4GMGxtgttTeVM0=", "narHash": "sha256-CMUdZDiHyWgp62qzFLIGBhjm7YPcRg/B6emSTM7572o=",
"owner": "end-4", "owner": "end-4",
"repo": "dots-hyprland", "repo": "dots-hyprland",
"rev": "2f0c8bf42b803f4d597572f2a014d4e78d7d9f26", "rev": "33f31a08caddd41422a2d97670adeeb52b4f1e7c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -301,11 +301,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1790021793, "lastModified": 1790989254,
"narHash": "sha256-wXAdaLBAjbQK/OfESV/i0pgolkz+Uo4SbBP/MbfGLHU=", "narHash": "sha256-ZN+riaeFuE+DZ5zfqJiXlM12jLwZzeIXiNkU1YeHMXI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a3dfb887d40d134af29fa8e924ba85a3e3a99194", "rev": "acd21c5a3420a9d5fd0ed06299b10828267ef9ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -322,11 +322,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789267039, "lastModified": 1790742243,
"narHash": "sha256-LWiBv9yAYFi2LPbUhDGHPGKYskJQjj2fw12OlyO1uQo=", "narHash": "sha256-kaNo6xHiL31AbNNEreG0OTKf4j6Cxlo5bPawjX7lnbQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ec172013fa62135f58fb58dd17ae9651e8f39727", "rev": "e5fcd298a00f08b6e8390baf04aa8edb62203070",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -343,11 +343,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787844471, "lastModified": 1790793570,
"narHash": "sha256-AKnBFjkZs4UGZqMT3yIkaCdpvM2fVccU1dVuK5AVZBk=", "narHash": "sha256-iWz98a1jWYk6XGv38IWY9uA55gBwQZyDw2oN65ml9Rw=",
"owner": "BlueManCZ", "owner": "BlueManCZ",
"repo": "hyprmod", "repo": "hyprmod",
"rev": "ffd47d804d8996cf3852dbb7ca1c949c424a57fb", "rev": "4fe54f2ee5f1943a2007959e0d67479879fb2c92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -399,11 +399,11 @@
}, },
"locked": { "locked": {
"dir": "packages/nix", "dir": "packages/nix",
"lastModified": 1789326337, "lastModified": 1790954892,
"narHash": "sha256-FWRCpoKQ8TywKkcCFleTSZRQhbL12JmbFdisaeIRIJU=", "narHash": "sha256-7NVnbbP4g9sP7X56DUnvBeZY1/pRcQKn2IJMTnm5jls=",
"owner": "SteamClientHomebrew", "owner": "SteamClientHomebrew",
"repo": "Millennium", "repo": "Millennium",
"rev": "41f7356df31043e8c1429382dda95445530da987", "rev": "dd868c3c108780c4f63e9fb569a9d5a28a088a51",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -416,17 +416,17 @@
"millennium-src": { "millennium-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1787082953, "lastModified": 1790436335,
"narHash": "sha256-zgr4cdJfye4qunpD3ClNnZ9D1WPGQAXV0CnYwEbB52s=", "narHash": "sha256-ghYUa4gPLV/VOflM2zkl/gtdwLWHQpRxG4boQoj4yKM=",
"owner": "SteamClientHomebrew", "owner": "SteamClientHomebrew",
"repo": "Millennium", "repo": "Millennium",
"rev": "513b02e809b0eb120ecf0ae12e548798dd756323", "rev": "765aa8802f8a4d942ad8ac8323a9e0f233a50fa8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "SteamClientHomebrew", "owner": "SteamClientHomebrew",
"repo": "Millennium", "repo": "Millennium",
"rev": "513b02e809b0eb120ecf0ae12e548798dd756323", "rev": "765aa8802f8a4d942ad8ac8323a9e0f233a50fa8",
"type": "github" "type": "github"
} }
}, },
@ -491,11 +491,11 @@
}, },
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1789496567, "lastModified": 1790428548,
"narHash": "sha256-f9ze1ph2u0lk/Hm7/w/OvC0ESL1z0LbQ5UDgcOwQzLM=", "narHash": "sha256-OsZ/I7v3ArCrk0XOUvkiU1dFtGtE1qZTHRGjvBXIKUU=",
"owner": "gmodena", "owner": "gmodena",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"rev": "07e8980c2fe421c93c0749f6246db34422827f67", "rev": "f1f045fc8b35ff59f88982c1752d3f3a42ca6a61",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -527,15 +527,16 @@
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs_8", "nixpkgs": "nixpkgs_8",
"nixpkgs-ci": "nixpkgs-ci",
"nixpkgs-nixcord": "nixpkgs-nixcord", "nixpkgs-nixcord": "nixpkgs-nixcord",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1789982989, "lastModified": 1791007510,
"narHash": "sha256-SMtg4nE6ehDMGHQ4JcATqHUbnao75siok9l4BYHl2eQ=", "narHash": "sha256-R7P+jKdK0iZwHv/V1jeTfBigqhLYwoIKc78mSHtfNAA=",
"owner": "4evy", "owner": "4evy",
"repo": "nixcord", "repo": "nixcord",
"rev": "faa48ca1531b03291cb071edb1ee8fa752e42c90", "rev": "1c47afb71426fa2b97b562ff5e50527075dc0110",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -593,6 +594,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-ci": {
"locked": {
"lastModified": 1790652569,
"narHash": "sha256-641r7xrlSOHYoktL9/aArPIYNgZJ9eM5URzSEOtPJDY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b6c8664de9b6cc07fe5666a29f91884ba81197c4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-libxml2": { "nixpkgs-libxml2": {
"locked": { "locked": {
"lastModified": 1751274312, "lastModified": 1751274312,
@ -611,11 +628,11 @@
}, },
"nixpkgs-nixcord": { "nixpkgs-nixcord": {
"locked": { "locked": {
"lastModified": 1789459628, "lastModified": 1790635395,
"narHash": "sha256-JOaadoI/IC9qEvwlnjwAhwdcWkCDqEeOJ+cOtUH/8RQ=", "narHash": "sha256-bNyvoIyOCu7lzoCpWKWGIsHpTtERUWzqYWFPlN++WTw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b67c7a60c3732edd4b947a7df8af06215851a614", "rev": "7fc6f2c20af09cdcaf48b92ec3121860139ec668",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -627,11 +644,11 @@
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": { "locked": {
"lastModified": 1789921291, "lastModified": 1790822859,
"narHash": "sha256-Ft/BRnIqw1MywFoXydKobjjWmDFgDdYtSpJliE8+yUw=", "narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "44a91898084f46797b5fac650c7e8c9ac38c43d4", "rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -659,11 +676,11 @@
}, },
"nixpkgs_12": { "nixpkgs_12": {
"locked": { "locked": {
"lastModified": 1789149629, "lastModified": 1790463110,
"narHash": "sha256-eQUZVehWLDBbpBR2rq6DnuRee1ULT6Y675RhsYDSjYI=", "narHash": "sha256-VZHcT2wKLkApBCACQ2SH4P1jVZUbbOA7jWAGi1MIViw=",
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b", "rev": "e158d9ed9b51c98974c5e66e1ba1c9e0255fecaa",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1072397.eaad089433ca/nixexprs.tar.xz" "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1080189.e158d9ed9b51/nixexprs.tar.xz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -672,11 +689,11 @@
}, },
"nixpkgs_13": { "nixpkgs_13": {
"locked": { "locked": {
"lastModified": 1789684949, "lastModified": 1790578696,
"narHash": "sha256-ZKhUe/2IJUq1JhKxKMu8rbkgSGmPP2ZCqlIPn40aGCM=", "narHash": "sha256-ZoxIApko70jCdbH3l20HWXOBaT2HZd87orzd2yJ9dVE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e554fab72f81915600f3f449b786fd9af40439a5", "rev": "7a0f122f5090cf4c2ade2a13a0e229d4e19ba71f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -800,11 +817,11 @@
}, },
"nixpkgs_8": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1789459628, "lastModified": 1790635395,
"narHash": "sha256-JOaadoI/IC9qEvwlnjwAhwdcWkCDqEeOJ+cOtUH/8RQ=", "narHash": "sha256-bNyvoIyOCu7lzoCpWKWGIsHpTtERUWzqYWFPlN++WTw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b67c7a60c3732edd4b947a7df8af06215851a614", "rev": "7fc6f2c20af09cdcaf48b92ec3121860139ec668",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -859,16 +876,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789761689, "lastModified": 1790166579,
"narHash": "sha256-kZmr3Bd0ehbq43/rDXtkuexWpMN8HyE0iqw1LlaartM=", "narHash": "sha256-+mz4dMdNgEx/GfGophP2B1WCrWonBrFFM1cF+pEz2h8=",
"owner": "vicinaehq", "owner": "vicinaehq",
"repo": "numen", "repo": "numen",
"rev": "7379178f9c2fc4dc0c1965c1800e62ef764118f4", "rev": "7db7b2069412d3f6bed4b0cf83167c7ad413f231",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "vicinaehq", "owner": "vicinaehq",
"ref": "v0.6.2", "ref": "v0.7.0",
"repo": "numen", "repo": "numen",
"type": "github" "type": "github"
} }
@ -917,11 +934,11 @@
}, },
"quadlet-nix": { "quadlet-nix": {
"locked": { "locked": {
"lastModified": 1785695563, "lastModified": 1790641475,
"narHash": "sha256-kE3JCUeQA4CXlLl5TglmKceOJP+ZF/CwkHngiZ3yS00=", "narHash": "sha256-G/priWdc/7y1Fogok9rn6WS4KhbYpTr2B2PwSMt3ekA=",
"owner": "SEIAROTg", "owner": "SEIAROTg",
"repo": "quadlet-nix", "repo": "quadlet-nix",
"rev": "b6ff6c4d6b36b8e29bce417b668597fab3e03160", "rev": "db3af9df6943692c78cf9a05e3bfeb7d82e94cf3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1010,11 +1027,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789727580, "lastModified": 1790182695,
"narHash": "sha256-6F2PXD+rCompcoqGf3nfysTTyjzpTMcwaqwoOHXf7TM=", "narHash": "sha256-Qkh5MyD52JtzcHh/ooTLFIpmAwl8du6j472+uKpq3s4=",
"owner": "rustfs", "owner": "rustfs",
"repo": "rustfs-flake", "repo": "rustfs-flake",
"rev": "d3202efdaeff9f33c2722af89726587584fefa40", "rev": "2e8e0e5a45d918ffa15f8a743988b36bdc8268f8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1030,11 +1047,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1789890976, "lastModified": 1790498116,
"narHash": "sha256-GKwH3zpy7tartuJMG0Rv/xUsdetG1QLmTVv8UKgJLmA=", "narHash": "sha256-rs9meAYxW3zzrh43yaW7htrqCD+X9+pupDPHN86fumI=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "7214124c20c1542c90deb54af50e2f53ae02711f", "rev": "5efb5a6f4f5ab192817d28557dd4d650fa14d866",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1071,11 +1088,11 @@
"systems": "systems_5" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1789291406, "lastModified": 1790502898,
"narHash": "sha256-lfZ7yAaTZMuAzOSLjJ7ivrKIFk0E11koWTVgkWSXwuE=", "narHash": "sha256-eR6P8ZCyYqrdvuOANIOE78t4qqm6wSTBKLP/aW8nwJE=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "09eed5c95105aada9ffabd4c7eb6b345dc4ba66f", "rev": "d508ccfa23820d032589bd65345bf5b6d9ea842f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1218,11 +1235,11 @@
"systems": "systems_6" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1789982506, "lastModified": 1790972264,
"narHash": "sha256-aoSOW1WsLTAaA0jDrRRU441KgfCzxx+mr3kI/nGyjLU=", "narHash": "sha256-JAi32uRoi5NxQAbLAJPF1m/ixqGbNs9e6ja3meHLvZw=",
"owner": "vicinaehq", "owner": "vicinaehq",
"repo": "vicinae", "repo": "vicinae",
"rev": "84a1a86ed0ed9825384164ab6b1b5662da9a79da", "rev": "7733e952e88ec2b44340f35b93846d1158e3fd24",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1241,11 +1258,11 @@
"vicinae": "vicinae_2" "vicinae": "vicinae_2"
}, },
"locked": { "locked": {
"lastModified": 1789530923, "lastModified": 1790242820,
"narHash": "sha256-fJn+0rlse0n1QrTR9pqx5dm3pbsZidMd/xLKscbBG/s=", "narHash": "sha256-xG2Nvdhl+lcguYzkAHf6RkHQpM8c3rbN0NDHUiwT4CA=",
"owner": "vicinaehq", "owner": "vicinaehq",
"repo": "extensions", "repo": "extensions",
"rev": "5882e1bbdfcf64279cbd1ed86a50aabed6f716d3", "rev": "def646b3655e13759d2b0a7b9d605f55fe83a5f7",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -146,6 +146,8 @@
}) })
]; ];
}) })
(import ./overlays/breakpad.nix)
(import ./overlays/obs-move-transition.nix)
(import ./overlays/hoffice) (import ./overlays/hoffice)
]; ];

View file

@ -17,6 +17,9 @@
"${inputs.self}/modules/mizukios/features/_1password.nix" "${inputs.self}/modules/mizukios/features/_1password.nix"
]; ];
# Avoid full-store scans, including missed timer runs after boot.
nix.optimise.automatic = lib.mkForce false;
networking = { networking = {
hostName = "mizuki"; hostName = "mizuki";
interfaces = { interfaces = {

View file

@ -30,6 +30,7 @@
"${inputs.self}/modules/home/firefox-devedition.nix" "${inputs.self}/modules/home/firefox-devedition.nix"
"${inputs.self}/modules/home/vicinae.nix" "${inputs.self}/modules/home/vicinae.nix"
"${inputs.self}/modules/home/fastfetch.nix" "${inputs.self}/modules/home/fastfetch.nix"
"${inputs.self}/modules/home/alcom.nix"
./config/shell.nix ./config/shell.nix
./config/plasma.nix ./config/plasma.nix
"${inputs.self}/modules/home/discord/linux.nix" "${inputs.self}/modules/home/discord/linux.nix"

View file

@ -16,12 +16,11 @@ with pkgs;
android-tools android-tools
android-cli android-cli
alcom
vrc-get vrc-get
vrcvideocacher vrcvideocacher
inputs.imnyang.packages.${pkgs.system}.figma-linux inputs.imnyang.packages.${pkgs.stdenv.hostPlatform.system}.figma-linux
# waterfox-bin # waterfox-bin
# inputs.waterfox.packages.${pkgs.system}.waterfox # inputs.waterfox.packages.${pkgs.stdenv.hostPlatform.system}.waterfox
] ]

View file

@ -32,7 +32,7 @@ EOF
XDG_CONFIG_HOME="$config_home" \ XDG_CONFIG_HOME="$config_home" \
XDG_STATE_HOME="$state_home" \ XDG_STATE_HOME="$state_home" \
"${inputs.concord.packages.${pkgs.system}.default}/bin/concord" "$@" "${inputs.concord.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/concord" "$@"
''; '';
in in
{ {

View file

@ -54,7 +54,7 @@ EOF
StateDirectoryMode = "0750"; StateDirectoryMode = "0750";
WorkingDirectory = "/var/lib/mizuki-nc"; WorkingDirectory = "/var/lib/mizuki-nc";
ExecStart = "${inputs.mizuki-nc.packages.${pkgs.system}.default}/bin/mizuki-nc"; ExecStart = "${inputs.mizuki-nc.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/mizuki-nc";
Restart = "always"; Restart = "always";
RestartSec = 3; RestartSec = 3;

29
modules/home/alcom.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
let
alcomFhs = pkgs.symlinkJoin {
name = "alcom-fhs";
paths = [
pkgs.alcom
];
postBuild = ''
rm -f "$out/bin/ALCOM"
cat > "$out/bin/ALCOM" <<'EOF'
#!${pkgs.runtimeShell}
exec ${pkgs.unityhub.fhsEnv}/bin/unityhub-fhs-env \
${pkgs.alcom}/bin/ALCOM "$@"
EOF
chmod +x "$out/bin/ALCOM"
'';
};
in
{
home.packages = [
pkgs.unityhub
alcomFhs
];
}

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.ghostty = { programs.ghostty = {
enable = true; enable = true;
package = if pkgs.stdenv.isDarwin then pkgs.ghostty-bin else pkgs.ghostty; package = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
enableFishIntegration = true; enableFishIntegration = true;

View file

@ -31,7 +31,7 @@ in
src = builtins.fetchTarball { src = builtins.fetchTarball {
url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64"; url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
sha256 = "0lcx0bh0r4lsll47b45qd69871lrcwg43s903p6gddcdi9k48lav"; sha256 = "0h09nxhlvjmc3p20khpwh4jy4618wg1pv0lz8x3ls7mkny99m25r";
}; };
buildInputs = oldAttrs.buildInputs ++ [ buildInputs = oldAttrs.buildInputs ++ [

View file

@ -3,7 +3,7 @@
{ {
programs.zed-editor = { programs.zed-editor = {
enable = true; enable = true;
package = if pkgs.stdenv.isDarwin then null else pkgs.zed-editor; package = if pkgs.stdenv.hostPlatform.isDarwin then null else pkgs.zed-editor;
extensions = [ extensions = [
"nix" "nix"
"toml" "toml"

View file

@ -3,12 +3,47 @@
inputs, inputs,
... ...
}: }:
let
nixcordPackages = inputs.nixcord.packages.${pkgs.stdenv.hostPlatform.system};
patchGifenc = ''
substituteInPlace package.json \
--replace-fail \
'github:mattdesl/gifenc#64842fca317b112a8590f8fef2bf3825da8f6fe3' \
'1.0.3'
substituteInPlace pnpm-lock.yaml \
--replace-fail \
'github:mattdesl/gifenc#64842fca317b112a8590f8fef2bf3825da8f6fe3' \
'1.0.3' \
--replace-fail \
'https://codeload.github.com/mattdesl/gifenc/tar.gz/64842fca317b112a8590f8fef2bf3825da8f6fe3' \
'1.0.3' \
--replace-fail \
'resolution: {gitHosted: true, tarball: 1.0.3}' \
'resolution: {integrity: sha512-xdr6AdrfGBcfzncONUOlXMBuc5wJDtOueE3c5rdG0oNgtINLD+f2iFZltrBRZYzACRbKr+mSVU/x98zv2u3jmw==}'
'';
refreshPnpmDeps = package: hash:
package.overrideAttrs (old: {
postPatch = (old.postPatch or "") + patchGifenc;
pnpmDeps = old.pnpmDeps.overrideAttrs (deps: {
outputHash = hash;
outputHashAlgo = "sha256";
postPatch = (deps.postPatch or "") + patchGifenc;
});
});
in
{ {
imports = [ inputs.nixcord.homeModules.nixcord ]; imports = [ inputs.nixcord.homeModules.nixcord ];
programs.nixcord = { programs.nixcord = {
enable = true; enable = true;
# Use Nixcord's pinned package set; the host package set's pnpm hook
# cannot consume the Equicord Git tarball snapshot offline.
useGlobalPkgs = false;
discord = { discord = {
vencord.package = refreshPnpmDeps nixcordPackages.vencord "sha256-Me4M6ATfnTMifltjeCl/zn/qUrBUwOJuWkrCPw4VU5Q=";
equicord.package = refreshPnpmDeps nixcordPackages.equicord "sha256-wXQg11c6EUT0xFlP1pYwMNzdVKdg5Gv3gcdolDrnGCk=";
branches = [ "stable" ]; branches = [ "stable" ];
# Electron's Vulkan backend crashes on the NVIDIA render node under # Electron's Vulkan backend crashes on the NVIDIA render node under
# native Wayland. Keep Wayland and hardware acceleration, but use GL. # native Wayland. Keep Wayland and hardware acceleration, but use GL.

View file

@ -24,6 +24,8 @@
settings.globalOptions = { settings.globalOptions = {
"Hotkey/TriggerKeys" = { "Hotkey/TriggerKeys" = {
"0" = "Alt_R"; "0" = "Alt_R";
# KDE's korean:ralt_hangul option maps right Alt to Hangul.
"1" = "Hangul";
}; };
"Hotkey/ActivateKeys" = { "Hotkey/ActivateKeys" = {
"0" = "Hangul_Hanja"; "0" = "Hangul_Hanja";

View file

@ -1,15 +1,11 @@
{ {
stdenvNoCC, stdenvNoCC,
fetchurl,
imagemagick, imagemagick,
}: }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "mizukios-logo"; pname = "mizukios-logo";
version = "1.0"; version = "1.0";
src = fetchurl { src = ../../../../../assets/mizukios-logo.png;
url = "https://miyo.moe/pub/img/%E1%84%86%E1%85%B5%E1%84%8C%E1%85%B3%E1%84%8F%E1%85%B5.png";
hash = "sha256-ZHQkYO4HvBjccXtQGTRcNcl7f1noibOTP6Cq71OKFP4=";
};
nativeBuildInputs = [ nativeBuildInputs = [
imagemagick imagemagick

View file

@ -0,0 +1,33 @@
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc
--- a/src/processor/basic_source_line_resolver.cc
+++ b/src/processor/basic_source_line_resolver.cc
@@ -109,0 +110,5 @@
+BasicSourceLineResolver::Module* BasicModuleFactory::CreateModule(
+ const string& name) const {
+ return new BasicSourceLineResolver::Module(name);
+}
+
diff --git a/src/processor/fast_source_line_resolver.cc b/src/processor/fast_source_line_resolver.cc
--- a/src/processor/fast_source_line_resolver.cc
+++ b/src/processor/fast_source_line_resolver.cc
@@ -62,0 +63,5 @@
+FastSourceLineResolver::Module* FastModuleFactory::CreateModule(
+ const string& name) const {
+ return new FastSourceLineResolver::Module(name);
+}
+
diff --git a/src/processor/module_factory.h b/src/processor/module_factory.h
--- a/src/processor/module_factory.h
+++ b/src/processor/module_factory.h
@@ -54,4 +54,2 @@
virtual BasicSourceLineResolver::Module* CreateModule(
- const string& name) const {
- return new BasicSourceLineResolver::Module(name);
- }
+ const string& name) const;
@@ -63,4 +61,2 @@
virtual FastSourceLineResolver::Module* CreateModule(
- const string& name) const {
- return new FastSourceLineResolver::Module(name);
- }
+ const string& name) const;

5
overlays/breakpad.nix Normal file
View file

@ -0,0 +1,5 @@
final: prev: {
breakpad = prev.breakpad.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./breakpad-module-factory.patch ];
});
}

View file

@ -0,0 +1,14 @@
final: prev:
let
oldPackage = prev.obs-studio-plugins.obs-move-transition;
oldEnv = oldPackage.env or { };
in
{
obs-studio-plugins = prev.obs-studio-plugins // {
obs-move-transition = oldPackage.overrideAttrs (_: {
env = oldEnv // {
NIX_CFLAGS_COMPILE = (oldEnv.NIX_CFLAGS_COMPILE or "") + " -Wno-error=deprecated-declarations";
};
});
};
}