Increase modularity of configuration

This commit is contained in:
Bart van der Braak 2024-10-17 23:50:25 +02:00
parent ab876da423
commit bb897d5682
4 changed files with 94 additions and 67 deletions

26
tongfang/nixos/users.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
users.users.bart = {
isNormalUser = true;
description = "Bart van der Braak";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
vscodium
thunderbird
fastfetch
wezterm
neovim
logseq
element-desktop
opentofu
python3
gnumake
];
};
nixpkgs.config.permittedInsecurePackages = [
# Workaround for electron dependency in Logseq
"electron-27.3.11"
];
}