From 6476c5131cb938c8a8dcd55272a25dfd00807005 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 13 Dec 2024 09:25:47 +0200 Subject: Added docker and removed some unused apps --- hosts/laptop-nixos/configuration.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'hosts/laptop-nixos/configuration.nix') diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix index a86c5ca..0d1fe17 100644 --- a/hosts/laptop-nixos/configuration.nix +++ b/hosts/laptop-nixos/configuration.nix @@ -85,6 +85,13 @@ }; }; + nixpkgs.config.allowUnfree = true; + + # Install firefox. + programs.firefox.enable = true; + + programs.zsh.enable = true; + # Install Steam programs.steam = { enable = true; @@ -93,12 +100,12 @@ localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers }; - # Install firefox. - programs.firefox.enable = true; - - programs.zsh.enable = true; - - nixpkgs.config.allowUnfree = true; + # Install Docker (without using root access) + # virtualisation.docker.enable = true; + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; # List packages installed in system profile. Use for apps that need sudo. environment.systemPackages = with pkgs; [ -- cgit v1.3.1