commit cb9e352f9b2ed6df04bbd4fc2a92e3a5dcc0b723
parent b10492ed9d7f7d9014aa95c81e1951009b957719
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 21 May 2020 15:37:24 +0200
machines/sandbox: do the same as other machines…
… for now. The goal will be to de-duplicate all this, but let's start
similar and slowly move away.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/machines/sandbox.nix b/machines/sandbox.nix
@@ -1,22 +1,3 @@
-{ config, pkgs, ... }:
-
{
- networking = {
- firewall.enable = false; # we are in safe territory :D
- networkmanager = {
- dns = "dnsmasq";
- };
- };
- profiles = {
- dev.enable = true;
- nix-config.buildCores = 4;
- ssh = {
- enable = true;
- forwardX11 = true;
- };
- };
- home-manager.users.vincent = import ./kerkouane.nix;
- home-manager.users.root = { pkgs, ... }: {
- home.packages = with pkgs; [ htop ];
- };
+ imports = [ ./nixos-base.nix ];
}
diff --git a/machines/sandbox.nixos.nix b/machines/sandbox.nixos.nix
@@ -0,0 +1,23 @@
+{ config, pkgs, ... }:
+
+{
+ networking = {
+ firewall.enable = false; # we are in safe territory :D
+ networkmanager = {
+ dns = "dnsmasq";
+ };
+ };
+ profiles = {
+ dev.enable = true;
+ nix-config.buildCores = 4;
+ ssh = {
+ enable = true;
+ forwardX11 = true;
+ };
+ };
+ # home-manager.users.vincent = import ./sandbox.nix;
+ home-manager.users.vincent = import ../home.nix;
+ home-manager.users.root = { pkgs, ... }: {
+ home.packages = with pkgs; [ htop ];
+ };
+}