nixos-configuration/nix-os/account.nix
Wroclaw ffb6be2ea2 Don't depend on external nixos-unstable channel
modules can now use unstablePkgs argument
2024-02-19 07:20:12 +01:00

35 lines
No EOL
718 B
Nix

{ config, pkgs, unstablePkgs, ... }:
{
imports = [
./unstable-packages.nix
];
users.users.wroclaw = {
isNormalUser = true;
description = "Rafał";
group = "wroclaw";
extraGroups = [
"users"
"wheel"
(if config.programs.adb.enable then "adbusers" else null)
];
linger = true;
# Initial password for the account
password = "nixos";
packages = with pkgs; [
firefox
vivaldi
discord-canary
unstablePkgs.vscode
];
};
users.groups.wroclaw.gid = 1000;
services.syncthing = {
enable = true;
user = "wroclaw";
group = "wroclaw";
dataDir = "/home/wroclaw";
configDir = "/home/wroclaw/.config/syncthing";
};
}