summaryrefslogtreecommitdiff
path: root/hosts/laptop-nixos
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-13 09:25:47 +0200
committerKyren223 <Kyren223@proton.me>2024-12-13 09:25:47 +0200
commit6476c5131cb938c8a8dcd55272a25dfd00807005 (patch)
tree8b9af39c635a9e45c787cf57de3ff6f92f305eed /hosts/laptop-nixos
parentbbc1cf2fb11237b205a12693bf94c71ea4d69284 (diff)
Added docker and removed some unused apps
Diffstat (limited to 'hosts/laptop-nixos')
-rw-r--r--hosts/laptop-nixos/configuration.nix19
-rw-r--r--hosts/laptop-nixos/home.nix1
2 files changed, 13 insertions, 7 deletions
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; [
diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix
index 67f6da8..b410422 100644
--- a/hosts/laptop-nixos/home.nix
+++ b/hosts/laptop-nixos/home.nix
@@ -76,7 +76,6 @@
gimp
kdePackages.kontact
kdePackages.kmail-account-wizard
- kdePackages.alligator
kdePackages.kaddressbook
];