podman autostart
This commit is contained in:
parent
792ddff76f
commit
1087486966
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@
|
||||
result
|
||||
result-*
|
||||
|
||||
.DS_Store
|
||||
passwords/*
|
@ -12,10 +12,10 @@ nixos-rebuild switch --flake 'git+https://git.sense-t.eu.org/NixOS/gpd-configura
|
||||
|
||||
- [x] 无状态 `/` 分区
|
||||
- [ ] wsproxy on podman
|
||||
- [ ] waybar 微调
|
||||
- [x] waybar 微调
|
||||
- [x] 使用 pipewire
|
||||
- [x] 电源选项
|
||||
- [x] hyprland 微调
|
||||
- [x] nwg-launchers 微调+配置
|
||||
- [x] [HMCL](https://gitlab.com/accessable-net/hmcl-flatpak)
|
||||
- [ ] tailscale
|
||||
- [x] tailscale
|
||||
|
@ -63,4 +63,32 @@
|
||||
zsh.enable = true;
|
||||
light.enable = true;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
oci-containers.backend = "podman";
|
||||
oci-containers.containers = {
|
||||
wsproxy = {
|
||||
login.username = "senseab";
|
||||
login.registry = "ghcr.io";
|
||||
login.passwordFile = "/var/lib/secrets/podman/wsproxy"; # should create it manually.
|
||||
image = "ghcr.io/senseab/wsproxy:master";
|
||||
autoStart = true;
|
||||
|
||||
environment = {
|
||||
CONFIG_NO_TLS_VERIFY = "true";
|
||||
CONFIG_ADDR = "wss://dev.wetofu.me/path";
|
||||
WSPROXY_MODE = "client";
|
||||
};
|
||||
|
||||
ports = [
|
||||
"1089:1089";
|
||||
];
|
||||
|
||||
extraOptions = [
|
||||
"--restart=always"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -10,8 +10,6 @@
|
||||
thefuck
|
||||
ranger
|
||||
icdiff
|
||||
podman
|
||||
jdk17
|
||||
#rofi
|
||||
#rofi-rbw
|
||||
nwg-launchers
|
||||
@ -25,8 +23,8 @@
|
||||
sessionVariables = {
|
||||
#GTK_IM_MODULE = "fcitx";
|
||||
#QT_IM_MODULE = "fcitx";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
SDL_IM_MODULE = "fcitx";
|
||||
#SDL_VIDEODRIVER = "wayland";
|
||||
#SDL_IM_MODULE = "fcitx";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
|
Reference in New Issue
Block a user