diff --git a/flake.lock b/flake.lock index b6abecb..988cb0e 100644 --- a/flake.lock +++ b/flake.lock @@ -246,6 +246,22 @@ "type": "github" } }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1627913399, + "narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1642700792, @@ -309,6 +325,21 @@ "type": "github" } }, + "flake-utils_4": { + "locked": { + "lastModified": 1634851050, + "narHash": "sha256-N83GlSGPJJdcqhUxSCS/WwW5pksYf3VP1M13cDRTSVA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c91f3de5adaf1de973b797ef7485e441a65b8935", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home": { "inputs": { "flake-compat": "flake-compat_3", @@ -475,6 +506,28 @@ "type": "github" } }, + "peerix": { + "inputs": { + "flake-compat": "flake-compat_5", + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "nixos" + ] + }, + "locked": { + "lastModified": 1637002926, + "narHash": "sha256-Iix+XcgkspoV+iVC4wvbX6jZhoThC8dn0RSNUc+Z448=", + "owner": "cid-chan", + "repo": "peerix", + "rev": "4ada6bfb74ab46740adce091271e3bd7c8ade827", + "type": "github" + }, + "original": { + "owner": "cid-chan", + "repo": "peerix", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -488,7 +541,8 @@ "naersk": "naersk", "nixos": "nixos", "nixos-hardware": "nixos-hardware", - "nvfetcher": "nvfetcher" + "nvfetcher": "nvfetcher", + "peerix": "peerix" } }, "rust-analyzer-src": { diff --git a/flake.nix b/flake.nix index a6cefdb..7c69a10 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,9 @@ naersk.url = "github:nmattia/naersk"; naersk.inputs.nixpkgs.follows = "nixos"; + peerix.url = "github:cid-chan/peerix"; + peerix.inputs.nixpkgs.follows = "nixos"; + nixos-hardware.url = "github:nixos/nixos-hardware"; fenix.url = "github:nix-community/fenix"; # fenix.inputs.nixpkgs.follows = "nixos"; @@ -54,6 +57,7 @@ , fenix , nvfetcher , deploy + , peerix , ... } @ inputs: digga.lib.mkFlake @@ -71,6 +75,7 @@ ./pkgs/default.nix fenix.overlay + peerix.overlay ]; }; latest = { }; @@ -98,6 +103,8 @@ digga.nixosModules.nixConfig home.nixosModules.home-manager agenix.nixosModules.age + peerix.nixosModules.peerix + ]; }; imports = [ (digga.lib.importHosts ./hosts) ]; diff --git a/profiles/peerix/default.nix b/profiles/peerix/default.nix new file mode 100644 index 0000000..18cdd5e --- /dev/null +++ b/profiles/peerix/default.nix @@ -0,0 +1,3 @@ +{...}: { + services.peerix.enable = true; +} diff --git a/suites/default.nix b/suites/default.nix index b3b972e..2e1fe5d 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -1,7 +1,7 @@ { profiles, ... }: with profiles; rec { base = [ users.root core dnscrypt ]; - workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java networkmanager pipewire flatpak ]; + workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java networkmanager pipewire flatpak peerix ]; desktop = workstation ++ [ users.mae-desk amd three_dee ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print ]; }