Add peerix

This commit is contained in:
Bad 2022-06-16 19:22:10 +02:00
parent c673bf76b9
commit b9bcdc1fde
4 changed files with 66 additions and 2 deletions

View file

@ -246,6 +246,22 @@
"type": "github" "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1642700792, "lastModified": 1642700792,
@ -309,6 +325,21 @@
"type": "github" "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": { "home": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
@ -475,6 +506,28 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -488,7 +541,8 @@
"naersk": "naersk", "naersk": "naersk",
"nixos": "nixos", "nixos": "nixos",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nvfetcher": "nvfetcher" "nvfetcher": "nvfetcher",
"peerix": "peerix"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {

View file

@ -39,6 +39,9 @@
naersk.url = "github:nmattia/naersk"; naersk.url = "github:nmattia/naersk";
naersk.inputs.nixpkgs.follows = "nixos"; naersk.inputs.nixpkgs.follows = "nixos";
peerix.url = "github:cid-chan/peerix";
peerix.inputs.nixpkgs.follows = "nixos";
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
fenix.url = "github:nix-community/fenix"; fenix.url = "github:nix-community/fenix";
# fenix.inputs.nixpkgs.follows = "nixos"; # fenix.inputs.nixpkgs.follows = "nixos";
@ -54,6 +57,7 @@
, fenix , fenix
, nvfetcher , nvfetcher
, deploy , deploy
, peerix
, ... , ...
} @ inputs: } @ inputs:
digga.lib.mkFlake digga.lib.mkFlake
@ -71,6 +75,7 @@
./pkgs/default.nix ./pkgs/default.nix
fenix.overlay fenix.overlay
peerix.overlay
]; ];
}; };
latest = { }; latest = { };
@ -98,6 +103,8 @@
digga.nixosModules.nixConfig digga.nixosModules.nixConfig
home.nixosModules.home-manager home.nixosModules.home-manager
agenix.nixosModules.age agenix.nixosModules.age
peerix.nixosModules.peerix
]; ];
}; };
imports = [ (digga.lib.importHosts ./hosts) ]; imports = [ (digga.lib.importHosts ./hosts) ];

View file

@ -0,0 +1,3 @@
{...}: {
services.peerix.enable = true;
}

View file

@ -1,7 +1,7 @@
{ profiles, ... }: { profiles, ... }:
with profiles; rec { with profiles; rec {
base = [ users.root core dnscrypt ]; 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 ]; desktop = workstation ++ [ users.mae-desk amd three_dee ];
lap = workstation ++ [ users.mae-lap laptop bluetooth print ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print ];
} }