mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
nixdev: update settings
This commit is contained in:
parent
ee54c61eda
commit
a23d28e5c9
1 changed files with 9 additions and 11 deletions
|
@ -1,10 +1,17 @@
|
||||||
{ ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
sconfig = {
|
sconfig = {
|
||||||
profile = "server";
|
gnome = true;
|
||||||
hardware = "qemu";
|
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" = {
|
environment.persistence."/nix/persist" = {
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
@ -19,20 +26,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = 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 =
|
fileSystems =
|
||||||
{
|
{
|
||||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
||||||
|
|
Loading…
Reference in a new issue