get test user on gemini 'server'

This commit is contained in:
stitchy 2024-05-03 04:47:19 +00:00
parent aea964c745
commit 97a6ae026e
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
3 changed files with 46 additions and 0 deletions

View file

@ -67,6 +67,7 @@
./packages/default.nix
./hosts/gemini/default.nix
./users/nyadmin/default.nix
./users/cirno/default.nix
home-manager.nixosModules.home-manager
{
@ -74,6 +75,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.nyadmin = import ./users/nyadmin/home.nix;
home-manager.users.cirno = import ./users/cirno/home.nix;
}
];
};

29
users/cirno/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, pkgs, lib, ... }:
{
config = {
programs = {
firefox.enable = true;
};
services = {
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6.enable = true;
};
users.users.cirno = {
isNormalUser = true;
shell = pkgs.zsh;
home = "/home/cirno";
description = "user for guests/cirno people";
extraGroups = [ "" ];
initialHashedPassword = "$6$2f8vjQbdKyEBqPRT$FrZBZfzpJGqNqLlCyb7CzRNm0wuZwfRI7Qj/dUQlbtLixyJK5Im9AJT7GXmP5StfhZxSbH/wW8nDGPQm98NXV0";
};
};
}

15
users/cirno/home.nix Normal file
View file

@ -0,0 +1,15 @@
{ config,
nixosConfig,
pkgs,
lib,
inputs,
home-manager,
... }:
let
in
{
home.stateVersion = "24.05";
home.homeDirectory = "/home/cirno";
}