nixos-configuration/nix-os/account.nix

44 lines
874 B
Nix
Raw Permalink 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;
initialPassword = "nixos";
2023-12-12 00:48:10 +01:00
packages = with pkgs; [
firefox
(vivaldi.override { proprietaryCodecs = true; })
2023-12-12 00:48:10 +01:00
discord-canary
unstablePkgs.vscode
2024-05-21 15:08:52 +02:00
gimp
inkscape
krita
2024-05-31 08:08:41 +02:00
unstablePkgs.zettlr
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";
};
2024-05-31 08:08:41 +02:00
}