dev
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#applications
|
||||
./mako.nix
|
||||
./foot.nix
|
||||
./zed.nix
|
||||
#./fcitx5.nix
|
||||
|
||||
#secrets
|
||||
|
||||
11
home/zed.nix
Normal file
11
home/zed.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
@@ -23,6 +23,7 @@
|
||||
../../modules/gunalx.nix
|
||||
../../modules/pam.nix
|
||||
../../modules/tailscale.nix
|
||||
../../modules/podman.nix
|
||||
];
|
||||
|
||||
networking.hostName = "legolas";
|
||||
@@ -47,6 +48,7 @@
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
git
|
||||
alacritty
|
||||
foot
|
||||
firefox
|
||||
@@ -55,6 +57,15 @@
|
||||
|
||||
nixfmt-rfc-style
|
||||
nixfmt-tree
|
||||
|
||||
distrobox
|
||||
distrobox-tui
|
||||
boxbuddy
|
||||
|
||||
gcc
|
||||
cargo
|
||||
rustup
|
||||
cmake
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"wheel"
|
||||
"tss"
|
||||
"networking"
|
||||
"podman"
|
||||
]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
];
|
||||
|
||||
28
modules/podman.nix
Normal file
28
modules/podman.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings.dns_enabled = true; # Required for containers under podman-compose to be able to talk to each other.
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.backend = lib.mkDefault "podman";
|
||||
|
||||
# Useful other development tools
|
||||
environment.systemPackages = with pkgs; [
|
||||
dive # look into docker image layers
|
||||
podman-tui # status of containers in the terminal
|
||||
podman-compose # start group of containers for dev
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user