diff --git a/hosts/x86_64-linux/nixdev/default.nix b/hosts/x86_64-linux/nixdev/default.nix index bc78394..abd3f70 100644 --- a/hosts/x86_64-linux/nixdev/default.nix +++ b/hosts/x86_64-linux/nixdev/default.nix @@ -1,10 +1,17 @@ -{ ... }: +{ config, lib, pkgs, ... }: { sconfig = { - profile = "server"; + gnome = true; hardware = "qemu"; + profile = "desktop"; }; + services.openssh.enable = true; + + users.mutableUsers = false; + users.users.root.passwordFile = "/nix/persist/shadow_sean"; + users.users.sean.passwordFile = "/nix/persist/shadow_sean"; + environment.persistence."/nix/persist" = { files = [ "/etc/machine-id" @@ -19,20 +26,11 @@ ]; }; - security.sudo.wheelNeedsPassword = false; - boot = { loader.systemd-boot.enable = true; loader.efi.canTouchEfiVariables = true; }; - networking = { - useDHCP = false; - interfaces.enp6s18.ipv4.addresses = [{ address = "10.5.7.160"; prefixLength = 24; }]; - defaultGateway = "10.5.7.1"; - nameservers = [ "1.1.1.1" ]; - }; - fileSystems = { "/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };