diff --git a/nix/configuration.nix b/nix/configuration.nix index 953c808..34f8211 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -5,6 +5,7 @@ ./hardware-configuration.nix ]; nixpkgs.config.allowBroken = true; + nix.settings.download-buffer-size = 524288000; nixpkgs.config.permittedInsecurePackages = ["electron-33.4.11" "mono-5.20.1.34"]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -166,4 +167,5 @@ ''; system.autoUpgrade.enable = true; system.stateVersion = "24.11"; + } diff --git a/nix/flake.lock b/nix/flake.lock index d522b4b..41ec776 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -1,22 +1,6 @@ { "nodes": { "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1747046372, - "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_2": { "locked": { "lastModified": 1696426674, "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", @@ -48,46 +32,6 @@ "type": "github" } }, - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "ghostty": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "zig": "zig", - "zon2nix": "zon2nix" - }, - "locked": { - "lastModified": 1755209210, - "narHash": "sha256-L/9twq6NXnIOKtKV9IP5uGVcz7Hf6KeEkFU1tluPplg=", - "owner": "ghostty-org", - "repo": "ghostty", - "rev": "4e26bb65ae9f49c444bcfa59736e1cc1e52049cd", - "type": "github" - }, - "original": { - "owner": "ghostty-org", - "repo": "ghostty", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -111,7 +55,7 @@ }, "nix-snapd": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat", "flake-parts": "flake-parts", "nixpkgs": [ "nixpkgs" @@ -133,15 +77,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1748189127, - "narHash": "sha256-zRDR+EbbeObu4V2X5QCd2Bk5eltfDlCr5yvhBwUT6pY=", - "rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334", - "type": "tarball", - "url": "https://releases.nixos.org/nixos/25.05/nixos-25.05.802491.7c43f080a7f2/nixexprs.tar.xz" + "lastModified": 1760862643, + "narHash": "sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "33c6dca0c0cb31d6addcd34e90a63ad61826b28c", + "type": "github" }, "original": { - "type": "tarball", - "url": "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz" + "owner": "NixOS", + "ref": "nixos-25.05", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs-lib": { @@ -158,29 +105,48 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1755078291, - "narHash": "sha256-Hu/gTDoi4uy6TAKISPHQusSMy8U6xUbLSDjKBYdhDIY=", + "lastModified": 1760524057, + "narHash": "sha256-EVAqOteLBFmd7pKkb0+FIUyzTF61VKi7YmvP1tw4nEw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3385ca0cd7e14c1a1eb80401fe011705ff012323", + "rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-25.05", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { - "ghostty": "ghostty", "home-manager": "home-manager", "nix-snapd": "nix-snapd", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", + "spicetify-nix": "spicetify-nix", "unstable": "unstable" } }, + "spicetify-nix": { + "inputs": { + "nixpkgs": "nixpkgs_2", + "systems": "systems" + }, + "locked": { + "lastModified": 1760848035, + "narHash": "sha256-H3MFH8+i4wFagkebtHPcosQdkmxQ4a6fl1lMbLb+RkA=", + "owner": "Gerg-L", + "repo": "spicetify-nix", + "rev": "cde9f78ae705343a38f5d1d19ab34858b5e9caa9", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "spicetify-nix", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -198,11 +164,11 @@ }, "unstable": { "locked": { - "lastModified": 1755175540, - "narHash": "sha256-V0j2S1r25QnbqBLzN2Rg/dKKil789bI3P3id7bDPVc4=", + "lastModified": 1760965567, + "narHash": "sha256-0JDOal5P7xzzAibvD0yTE3ptyvoVOAL0rcELmDdtSKg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a595dde4d0d31606e19dcec73db02279db59d201", + "rev": "cb82756ecc37fa623f8cf3e88854f9bf7f64af93", "type": "github" }, "original": { @@ -211,61 +177,6 @@ "repo": "nixpkgs", "type": "github" } - }, - "zig": { - "inputs": { - "flake-compat": [ - "ghostty", - "flake-compat" - ], - "flake-utils": [ - "ghostty", - "flake-utils" - ], - "nixpkgs": [ - "ghostty", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1748261582, - "narHash": "sha256-3i0IL3s18hdDlbsf0/E+5kyPRkZwGPbSFngq5eToiAA=", - "owner": "mitchellh", - "repo": "zig-overlay", - "rev": "aafb1b093fb838f7a02613b719e85ec912914221", - "type": "github" - }, - "original": { - "owner": "mitchellh", - "repo": "zig-overlay", - "type": "github" - } - }, - "zon2nix": { - "inputs": { - "flake-utils": [ - "ghostty", - "flake-utils" - ], - "nixpkgs": [ - "ghostty", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1742104771, - "narHash": "sha256-LhidlyEA9MP8jGe1rEnyjGFCzLLgCdDpYeWggibayr0=", - "owner": "jcollie", - "repo": "zon2nix", - "rev": "56c159be489cc6c0e73c3930bd908ddc6fe89613", - "type": "github" - }, - "original": { - "owner": "jcollie", - "repo": "zon2nix", - "rev": "56c159be489cc6c0e73c3930bd908ddc6fe89613", - "type": "github" - } } }, "root": "root", diff --git a/nix/flake.nix b/nix/flake.nix index 57c05a8..6dfba30 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -4,18 +4,16 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - ghostty = { - url = "github:ghostty-org/ghostty"; - }; nix-snapd.url = "github:nix-community/nix-snapd"; nix-snapd.inputs.nixpkgs.follows = "nixpkgs"; + spicetify-nix.url = "github:Gerg-L/spicetify-nix"; home-manager = { url = "github:nix-community/home-manager/release-24.11"; inputs.nixpkgs.follows = "nixpkgs"; }; }; - outputs = { self, nixpkgs, unstable, ghostty, nix-snapd, home-manager, ... }: + outputs = { self, nixpkgs, unstable, nix-snapd, home-manager, ... }: let system = "x86_64-linux"; lib = nixpkgs.lib; @@ -31,7 +29,6 @@ home-manager.nixosModules.home-manager { environment.systemPackages = [ - ghostty.packages.x86_64-linux.default ]; } ]; diff --git a/nix/packages.nix b/nix/packages.nix index 674967a..2cd15f1 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -94,7 +94,6 @@ pkgs: with pkgs; [ ffmpeg filezilla lrcget - tailscale picard asciinema gimp @@ -111,4 +110,11 @@ pkgs: with pkgs; [ coder xcolor signal-desktop + element-desktop + pavucontrol + zapzap + altus + nexusmods-app + cargo + rustc ]