Skip to content

Commit 9d6bd0e

Browse files
update
1 parent c8425bf commit 9d6bd0e

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

nix-darwin/flake.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix-darwin/flake.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
url = "github:ndom91/rose-pine-hyprcursor";
5050
inputs.nixpkgs.follows = "nixpkgs";
5151
};
52+
53+
quadlet-nix = {
54+
url = "github:SEIAROTg/quadlet-nix";
55+
inputs.nixpkgs.follows = "nixpkgs";
56+
};
5257
};
5358

5459
outputs =
@@ -58,6 +63,7 @@
5863
darwin,
5964
catppuccin,
6065
nixvim,
66+
quadlet-nix,
6167
...
6268
}:
6369
{
@@ -103,6 +109,7 @@
103109
} // inputs;
104110
modules = [
105111
./users/henri/configuration.nix
112+
quadlet-nix.nixosModules.quadlet
106113
home-manager.nixosModules.home-manager
107114
{
108115
home-manager.useGlobalPkgs = true;

nix-darwin/users/henri.vandersleyen/configuration.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
imports = [
1010
# ./modules/services/appleTouchId.nix
1111
];
12-
1312
nix = {
1413
enable = true;
1514
settings.experimental-features = "nix-command flakes";

nix-darwin/users/henri/configuration.nix

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@
2020
# local
2121
./sops.nix
2222
];
23+
24+
systemd.user.startServices = "sd-switch";
25+
virtualisation.quadlet.containers = {
26+
echo-server = {
27+
autoStart = true;
28+
serviceConfig = {
29+
RestartSec = "10";
30+
Restart = "always";
31+
};
32+
containerConfig = {
33+
image = "docker.io/mendhak/http-https-echo:31";
34+
publishPorts = [ "127.0.0.1:8080:8080" ];
35+
userns = "keep-id";
36+
};
37+
};
38+
};
39+
2340
system.stateVersion = "25.05";
2441
boot.extraModprobeConfig = ''options bluetooth disable_ertm=1 '';
2542
# cron

0 commit comments

Comments
 (0)