-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
54 lines (49 loc) · 1.38 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
inputs = {
# many pkgs upstream havent made it in an official release yet
nixpkgs.url = "nixpkgs/nixos-24.05";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [
self.overlays.default
];
config = { allowUnfree = true; };
};
in
{
overlays.default = (final: prev:
with final.pkgs;
rec {
ardopc = callPackage ./pkgs/ardopc { };
flashtnc = callPackage ./pkgs/flashtnc { };
maidenhead = callPackage ./pkgs/maidenhead { };
rmsgw = callPackage ./pkgs/rmsgw { };
wwl = callPackage ./pkgs/wwl { };
uronode = callPackage ./pkgs/uronode { };
}
);
packages.x86_64-linux =
with pkgs; {
inherit
ardopc
flashtnc
maidenhead
rmsgw
uronode
wwl;
};
nixosModules.default = {
ax25d = import ./modules/ax25d.nix;
axlistend = import ./modules/axlistend.nix;
beacond = import ./modules/beacond.nix;
mheardd = import ./modules/mheardd.nix;
};
};
# Bold green prompt for `nix develop`
# Had to add extra escape chars to each special char
nixConfig.bash-prompt = "\\[\\033[01;32m\\][nix-flakes \\W] \$\\[\\033[00m\\] ";
}