From d9c97164b3fec69087732c4828010190e1c25311 Mon Sep 17 00:00:00 2001 From: Madeline Hashcube Date: Sun, 22 Mar 2026 17:24:28 -0500 Subject: [PATCH] set up some copyparty stuffs --- flake.lock | 112 +++++++++++++++++++------- flake.nix | 4 + modules/network/copyparty/base.nix | 8 ++ modules/network/copyparty/default.nix | 7 ++ 4 files changed, 100 insertions(+), 31 deletions(-) create mode 100644 modules/network/copyparty/base.nix create mode 100644 modules/network/copyparty/default.nix diff --git a/flake.lock b/flake.lock index 6987912..198ad12 100644 --- a/flake.lock +++ b/flake.lock @@ -72,6 +72,25 @@ "type": "github" } }, + "copyparty": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1753820657, + "narHash": "sha256-C4v08Pq80hmuusubPki94xu2wtgCwrjniLA3nr8+JkU=", + "owner": "9001", + "repo": "copyparty", + "rev": "c3cc2ddeaea4d2c762bce0335b6637ce341861cd", + "type": "github" + }, + "original": { + "owner": "9001", + "repo": "copyparty", + "type": "github" + } + }, "darwin": { "inputs": { "nixpkgs": [ @@ -132,6 +151,21 @@ } }, "flake-utils": { + "locked": { + "lastModified": 1678901627, + "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { "inputs": { "systems": "systems_2" }, @@ -149,7 +183,7 @@ "type": "github" } }, - "flake-utils_2": { + "flake-utils_3": { "inputs": { "systems": "systems_4" }, @@ -169,9 +203,9 @@ }, "frc-nix": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nix-github-actions": "nix-github-actions", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1750715996, @@ -232,7 +266,7 @@ }, "home-manager_2": { "inputs": { - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1753675338, @@ -337,7 +371,7 @@ "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_6", "pre-commit-hooks": "pre-commit-hooks", "systems": "systems_3", "xdph": "xdph" @@ -590,7 +624,7 @@ "inputs": { "niri-stable": "niri-stable", "niri-unstable": "niri-unstable", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "nixpkgs-stable": "nixpkgs-stable", "xwayland-satellite-stable": "xwayland-satellite-stable", "xwayland-satellite-unstable": "xwayland-satellite-unstable" @@ -711,6 +745,22 @@ "type": "github" } }, + "nixpkgs_10": { + "locked": { + "lastModified": 1752480373, + "narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1753250450, @@ -728,6 +778,21 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1748162331, + "narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-25.05", + "type": "indirect" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1750506804, "narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=", @@ -743,7 +808,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1752950548, "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=", @@ -759,7 +824,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1752687322, "narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=", @@ -775,7 +840,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_7": { "locked": { "lastModified": 1753429684, "narHash": "sha256-9h7+4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ+SJjk=", @@ -791,7 +856,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_8": { "locked": { "lastModified": 1753676241, "narHash": "sha256-2tiuzwUt1FV6LGu152R755PMtNlTCNQpHrVJemEpGvk=", @@ -807,7 +872,7 @@ "type": "github" } }, - "nixpkgs_8": { + "nixpkgs_9": { "locked": { "lastModified": 1717786204, "narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=", @@ -823,22 +888,6 @@ "type": "github" } }, - "nixpkgs_9": { - "locked": { - "lastModified": 1752480373, - "narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixvim": { "inputs": { "flake-parts": "flake-parts", @@ -864,7 +913,7 @@ }, "nook-desktop": { "inputs": { - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_9", "nixpkgs-stable": "nixpkgs-stable_2", "systems": "systems_6" }, @@ -884,7 +933,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "ixx": "ixx", "nixpkgs": [ "nixvim", @@ -932,12 +981,13 @@ "inputs": { "agenix": "agenix", "catppuccin": "catppuccin", + "copyparty": "copyparty", "frc-nix": "frc-nix", "home-manager": "home-manager_2", "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", "niri": "niri", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_8", "nixvim": "nixvim", "nook-desktop": "nook-desktop", "zen-browser": "zen-browser" @@ -1110,7 +1160,7 @@ "zen-browser": { "inputs": { "home-manager": "home-manager_3", - "nixpkgs": "nixpkgs_9" + "nixpkgs": "nixpkgs_10" }, "locked": { "lastModified": 1753674409, diff --git a/flake.nix b/flake.nix index 85260a9..0a7c94b 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ }; home-manager.url = "github:nix-community/home-manager"; niri.url = "github:sodiboo/niri-flake"; + copyparty.url = "github:9001/copyparty"; }; outputs = { @@ -31,6 +32,7 @@ agenix, nixvim, niri, + copyparty, ... }@inputs:{ nixosConfigurations = { @@ -48,6 +50,8 @@ catppuccin.nixosModules.catppuccin home-manager.nixosModules.home-manager niri.nixosModules.niri + copyparty.nixosModules.default + ./modules/network/copyparty/default.nix { nixpkgs.overlays = [ niri.overlays.niri ]; home-manager.useGlobalPkgs = true; diff --git a/modules/network/copyparty/base.nix b/modules/network/copyparty/base.nix new file mode 100644 index 0000000..2cee0c5 --- /dev/null +++ b/modules/network/copyparty/base.nix @@ -0,0 +1,8 @@ +{ inputs, ... }: + +{ + # add the copyparty overlay to expose the package to the module + nixpkgs.overlays = [ inputs.copyparty.overlays.default ]; + # configure the copyparty module + services.copyparty.enable = true; +} diff --git a/modules/network/copyparty/default.nix b/modules/network/copyparty/default.nix new file mode 100644 index 0000000..cc14bd5 --- /dev/null +++ b/modules/network/copyparty/default.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + imports = [ + ./base.nix + ]; +} \ No newline at end of file -- 2.51.2