Compare commits
7
Commits
075b1ff967
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe86dce099 | ||
|
|
270feb3e85 | ||
|
|
90eac24b77 | ||
|
|
072dbfe689 | ||
|
|
35862426ae | ||
|
|
530edccdf5 | ||
|
|
22b8aedee4 |
Generated
+10
-6
@@ -2,14 +2,18 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 0,
|
"lastModified": 1726937504,
|
||||||
"narHash": "sha256-XD6GfVgSfWjqqWAuybkvaxS1/xrwTrh3V1dSkoYJW3Q=",
|
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
|
||||||
"path": "/nix/store/jjjyazlmzjls1kdpgn776iy9w345yq7l-source",
|
"owner": "nixos",
|
||||||
"type": "path"
|
"repo": "nixpkgs",
|
||||||
|
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"owner": "nixos",
|
||||||
"type": "indirect"
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
};
|
||||||
outputs = { self, nixpkgs }: {
|
outputs = { self, nixpkgs }: {
|
||||||
# miscellaneous stuff that's important
|
# miscellaneous stuff that's important
|
||||||
nixosModules.base = {lib, ...}: {
|
nixosModules.base = {lib, ...}: {
|
||||||
@@ -52,11 +55,20 @@
|
|||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
nixosModules.hledger = {...}: {
|
||||||
|
services.hledger-web = {
|
||||||
|
enable = true;
|
||||||
|
allow = "edit";
|
||||||
|
host = "0.0.0.0";
|
||||||
|
baseUrl = "http://192.168.1.37:5000";
|
||||||
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [ 5000 ];
|
||||||
|
};
|
||||||
nixosModules.samba = {...}: {
|
nixosModules.samba = {...}: {
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
shares = {
|
settings = {
|
||||||
chopper = {
|
chopper = {
|
||||||
path = "/storage/media";
|
path = "/storage/media";
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
@@ -82,6 +94,7 @@
|
|||||||
self.nixosModules.zfs
|
self.nixosModules.zfs
|
||||||
self.nixosModules.plex
|
self.nixosModules.plex
|
||||||
self.nixosModules.samba
|
self.nixosModules.samba
|
||||||
|
self.nixosModules.hledger
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user