nixos-configuration/nix-os/account.nix

47 lines
960 B
Nix
Raw Normal View History

{ config, lib, 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"
] ++ lib.optional config.programs.adb.enable "adbusers";
2023-12-12 00:48:10 +01:00
linger = true;
initialPassword = "nixos";
2023-12-12 00:48:10 +01:00
packages = with pkgs; [
firefox
(vivaldi.override {
proprietaryCodecs = true;
commandLineArgs = [ "--ozone-platform=wayland" ];
})
vesktop
unstablePkgs.vscode
2024-05-21 15:08:52 +02:00
gimp
inkscape
jitsi-meet-electron
2024-05-21 15:08:52 +02:00
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
}