Reorganize files
This commit is contained in:
parent
f449490474
commit
58ce7ac394
14 changed files with 2 additions and 2 deletions
35
nix-os/account.nix
Normal file
35
nix-os/account.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
|
||||
in
|
||||
{
|
||||
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
|
||||
unstable.vscode
|
||||
];
|
||||
};
|
||||
users.groups.wroclaw.gid = 1000;
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "wroclaw";
|
||||
group = "wroclaw";
|
||||
dataDir = "/home/wroclaw";
|
||||
configDir = "/home/wroclaw/.config/syncthing";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue