all repos — dotfiles @ 45a507653c1f64c7d816d4f330b323284708a3e0

my *nix dotfiles

nix/sini: disable nix-snapshotter for now
Anirudh Oppiliappan x@icyphox.sh
Sun, 16 Jun 2024 23:42:48 +0300
commit

45a507653c1f64c7d816d4f330b323284708a3e0

parent

dd95f11e7a5e473f513a87dc2d8450fb35a65ea4

2 files changed, 8 insertions(+), 14 deletions(-)

jump to
M flake.nixflake.nix

@@ -115,10 +115,10 @@ sini = nixpkgs.lib.nixosSystem {

system = "x86_64-linux"; modules = [ ({ config = { nix.registry.nixpkgs.flake = nixpkgs; }; }) - ({ pkgs, ... }: { - imports = [ nix-snapshotter.nixosModules.default ]; - nixpkgs.overlays = [ nix-snapshotter.overlays.default ]; - }) + # ({ pkgs, ... }: { + # imports = [ nix-snapshotter.nixosModules.default ]; + # nixpkgs.overlays = [ nix-snapshotter.overlays.default ]; + # }) { imports = [ ./hosts/sini/configuration.nix ]; _module.args.self = self;
M hosts/sini/configuration.nixhosts/sini/configuration.nix

@@ -57,7 +57,7 @@

users.users.icy = { isNormalUser = true; description = "icy"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; packages = with pkgs; [ ]; };

@@ -66,13 +66,12 @@ environment.systemPackages = with pkgs; [

vim wget git - nerdctl ]; services = { openssh.enable = true; tailscale.enable = true; - nix-snapshotter.enable = true; + # nix-snapshotter.enable = true; }; services.radicale = {

@@ -92,19 +91,14 @@ };

}; }; + # building only + virtualisation.docker.enable = true; - # nix-snapshotter and k3s - virtualisation.containerd = { - enable = true; - nixSnapshotterIntegration = true; - }; services.k3s = { enable = true; - extraFlags = lib.mkDefault "--container-runtime-endpoint=unix:///run/containerd/containerd.sock"; }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "24.05"; - }