diff --git a/flake.lock b/flake.lock index 9b154d1..6e4b09b 100644 --- a/flake.lock +++ b/flake.lock @@ -33,27 +33,6 @@ "type": "github" } }, - "claude": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1742506150, - "narHash": "sha256-Yk/7pIspgG6/7WYGNrwDmAgh96g2bQ5v/dD13kjEcSE=", - "owner": "k3d3", - "repo": "claude-desktop-linux-flake", - "rev": "ae324d0bfda981b23df75ae41c9665aeba737729", - "type": "github" - }, - "original": { - "owner": "k3d3", - "repo": "claude-desktop-linux-flake", - "type": "github" - } - }, "crane": { "inputs": { "flake-compat": [ @@ -236,11 +215,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", "owner": "numtide", "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", "type": "github" }, "original": { @@ -251,7 +230,7 @@ }, "flake-utils-plus": { "inputs": { - "flake-utils": "flake-utils_4" + "flake-utils": "flake-utils_3" }, "locked": { "lastModified": 1715533576, @@ -270,7 +249,7 @@ }, "flake-utils-plus_2": { "inputs": { - "flake-utils": "flake-utils_5" + "flake-utils": "flake-utils_4" }, "locked": { "lastModified": 1715533576, @@ -291,24 +270,6 @@ "inputs": { "systems": "systems_2" }, - "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_3": { - "inputs": { - "systems": "systems_3" - }, "locked": { "lastModified": 1710146030, "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", @@ -323,9 +284,9 @@ "type": "github" } }, - "flake-utils_4": { + "flake-utils_3": { "inputs": { - "systems": "systems_5" + "systems": "systems_4" }, "locked": { "lastModified": 1694529238, @@ -341,9 +302,9 @@ "type": "github" } }, - "flake-utils_5": { + "flake-utils_4": { "inputs": { - "systems": "systems_7" + "systems": "systems_6" }, "locked": { "lastModified": 1694529238, @@ -455,7 +416,7 @@ "crane": "crane", "flake-compat": "flake-compat", "flake-parts": "flake-parts", - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils", "nixpkgs": [ "nixpkgs" ], @@ -518,7 +479,7 @@ "neovim-flake": { "inputs": { "flake-parts": "flake-parts_2", - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_2", "mnw": "mnw", "nil": "nil", "nixpkgs": [ @@ -628,7 +589,7 @@ "plugin-vim-vsnip": "plugin-vim-vsnip", "plugin-which-key": "plugin-which-key", "rnix-lsp": "rnix-lsp", - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1731965250, @@ -799,11 +760,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1742512142, - "narHash": "sha256-8XfURTDxOm6+33swQJu/hx6xw1Tznl8vJJN5HwVqckg=", + "lastModified": 1742268799, + "narHash": "sha256-IhnK4LhkBlf14/F8THvUy3xi/TxSQkp9hikfDZRD4Ic=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7105ae3957700a9646cc4b766f5815b23ed0c682", + "rev": "da044451c6a70518db5b730fe277b70f494188f1", "type": "github" }, "original": { @@ -2550,7 +2511,6 @@ }, "root": { "inputs": { - "claude": "claude", "darwin": "darwin", "disko": "disko", "home-manager": "home-manager", @@ -2801,28 +2761,13 @@ "type": "github" } }, - "systems_7": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "unstable": { "locked": { - "lastModified": 1742422364, - "narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=", + "lastModified": 1742288794, + "narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", + "rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42", "type": "github" }, "original": { @@ -2849,7 +2794,7 @@ }, "utils_2": { "inputs": { - "systems": "systems_6" + "systems": "systems_5" }, "locked": { "lastModified": 1709126324, diff --git a/flake.nix b/flake.nix index d866d0f..e96f779 100644 --- a/flake.nix +++ b/flake.nix @@ -55,9 +55,6 @@ simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05"; simple-nixos-mailserver.inputs.nixpkgs.follows = "nixpkgs"; - - claude.url = "github:k3d3/claude-desktop-linux-flake"; - claude.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = @@ -93,12 +90,7 @@ simple-nixos-mailserver.nixosModule ]; - overlays = with inputs; [ - nixsgx-flake.overlays.default - (final: prev: { - inherit (claude.packages.${prev.system}) claude-desktop-with-fhs; - }) - ]; + overlays = with inputs; [ nixsgx-flake.overlays.default ]; outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; diff --git a/overlays/extern/default.nix b/overlays/extern/default.nix deleted file mode 100644 index 8897dfb..0000000 --- a/overlays/extern/default.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ channels, ... }: final: prev: { - inherit (channels.nixpkgs.nixsgx) sgx-psw; -} diff --git a/overlays/nixsgx/default.nix b/overlays/nixsgx/default.nix new file mode 100644 index 0000000..cdd3da6 --- /dev/null +++ b/overlays/nixsgx/default.nix @@ -0,0 +1 @@ +{ channels, ... }: final: prev: { inherit (channels.nixpkgs.nixsgx) sgx-psw; } diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index d7f1e54..c402916 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -59,7 +59,6 @@ with lib.metacfg; gtypist logseq claude-code - claude-desktop-with-fhs ]; zramSwap.enable = true;