get test user on gemini 'server'
This commit is contained in:
parent
aea964c745
commit
97a6ae026e
3 changed files with 46 additions and 0 deletions
|
@ -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
29
users/cirno/default.nix
Normal 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
15
users/cirno/home.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config,
|
||||
nixosConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
home-manager,
|
||||
... }:
|
||||
let
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
home.homeDirectory = "/home/cirno";
|
||||
}
|
Loading…
Reference in a new issue