Changed test-config.nix

* Cleaned up function args
* Removed create-invoice-ninja-user script
* test-user is now test
This commit is contained in:
Andrew Bryant 2024-09-27 08:49:29 -04:00
parent 2dd1579547
commit 553674743b

View File

@ -1,10 +1,5 @@
{ config, pkgs, modulesPath, ... }: { modulesPath, ... }:
let
invoice-ninja-script = pkgs.writers.writeBashBin "create-invoice-ninja-user" ''
invoice-ninja-manage ninja:
'';
in
{ {
imports = [ imports = [
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
@ -15,7 +10,7 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
users.users.test-user = { users.users.test = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
initialPassword = "testing"; initialPassword = "testing";
@ -31,8 +26,4 @@ in
networking.firewall.enable = false; networking.firewall.enable = false;
services.resolved.enable = true; services.resolved.enable = true;
services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.xserver.desktopManager.xfce.enable = true;
} }