nixos-configuration/nix-os/account.nix

43 lines
838 B
Nix
Raw Normal View History

{ config, pkgs, unstablePkgs, ... }:
2023-12-12 00:48:10 +01:00
{
imports = [
./unstable-packages.nix
];
2023-12-12 00:48:10 +01:00
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
2024-05-21 15:08:52 +02:00
gimp
inkscape
krita
2023-12-12 00:48:10 +01:00
];
};
users.groups.wroclaw.gid = 1000;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
2023-12-12 00:48:10 +01:00
services.syncthing = {
enable = true;
user = "wroclaw";
group = "wroclaw";
dataDir = "/home/wroclaw";
configDir = "/home/wroclaw/.config/syncthing";
};
}