From 6e3ffd9a15ff0aeeeaae094a13106b365ef9f59e Mon Sep 17 00:00:00 2001 From: reo101 Date: Mon, 6 Mar 2023 18:31:14 +0200 Subject: [PATCH] feat(homix): update configuration Add `docker` support Add more development packages --- machines/nixos/x86_64-linux/homix/configuration.nix | 7 +++++-- machines/nixos/x86_64-linux/homix/home/reo101.nix | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/machines/nixos/x86_64-linux/homix/configuration.nix b/machines/nixos/x86_64-linux/homix/configuration.nix index ae51803..365e45e 100644 --- a/machines/nixos/x86_64-linux/homix/configuration.nix +++ b/machines/nixos/x86_64-linux/homix/configuration.nix @@ -59,7 +59,7 @@ # }; nix = { - package = pkgs.nixFlakes; + package = pkgs.nixUnstable; # Enable flakes, the new `nix` commands and better support for flakes in it extraOptions = '' @@ -182,11 +182,14 @@ ### Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; + # Virtualisation + virtualisation.docker.enable = true; + ### Define a user account. Don't forget to set a password with `passwd`. users.users.reo101 = { isNormalUser = true; shell = pkgs.zsh; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "docker" ]; }; home-manager = { diff --git a/machines/nixos/x86_64-linux/homix/home/reo101.nix b/machines/nixos/x86_64-linux/homix/home/reo101.nix index b7e1363..d23289d 100644 --- a/machines/nixos/x86_64-linux/homix/home/reo101.nix +++ b/machines/nixos/x86_64-linux/homix/home/reo101.nix @@ -48,6 +48,7 @@ vifm # file editor pciutils # lspci usbutils # lsusb + (uutils-coreutils.override { prefix = ""; }) # coreutils in rust ## Shell # zsh @@ -70,6 +71,10 @@ ## Rust rustc cargo + rust-analyzer + clang + openssl + pkg-config ## Vim FMI vim-fmi