mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
podman -> docker
This commit is contained in:
parent
a2ba3adb04
commit
41e7f72e29
1 changed files with 12 additions and 1 deletions
|
@ -13,9 +13,20 @@ with lib;
|
|||
|
||||
config = mkIf (config.sconfig.desktop.enable) {
|
||||
programs.steam.enable = true;
|
||||
virtualisation.podman.enable = true;
|
||||
networking.networkmanager.wifi.powersave = false;
|
||||
|
||||
systemd.services.docker.path = [
|
||||
pkgs.openssh
|
||||
];
|
||||
programs.bash.interactiveShellInit = ''
|
||||
((UID)) && alias docker="sudo --preserve-env=SSH_AUTH_SOCK docker"
|
||||
'';
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
enableOnBoot = false;
|
||||
daemon.settings.data-root = "/nix/persist/docker";
|
||||
};
|
||||
|
||||
# Pipewire
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
|
Loading…
Reference in a new issue