nix: update and add wolfi user

This commit is contained in:
2023-06-11 10:18:23 +02:00
parent df3bbbd763
commit 2f0fa12da4
2 changed files with 41 additions and 21 deletions

View File

@ -9,7 +9,8 @@
./hardware-configuration.nix
];
# Bootloader.
# Bootloader
# Use this for simple nix boot menu, if no dual boot required
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
@ -77,7 +78,7 @@
services.xserver.windowManager.i3.extraPackages = with pkgs; [
rofi
i3lock
i3status-rust
unstable.i3status-rust
nitrogen
];
@ -127,12 +128,6 @@
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
thunderbird
nextcloud-client
qalculate-gtk
schildichat-desktop
tdesktop
hunspell
hunspellDicts.de_DE
hunspellDicts.en_US
@ -142,10 +137,27 @@
unstable.zoom-us
qutebrowser
evince
unetbootin
# For SSS exercises
pwndbg
gcc
hexedit
];
};
users.groups.julian = { gid = 1000; };
users.groups.wolfi = { gid = 1001; };
users.users.wolfi = {
isNormalUser = true;
description = "Wolfi";
uid = 1001;
group = "wolfi";
shell = pkgs.fish;
extraGroups = [ "networkmanager" "wheel" ];
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@ -171,6 +183,13 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
firefox
thunderbird
nextcloud-client
qalculate-gtk
schildichat-desktop
tdesktop
tealdeer
gcolor2 # gcolor3 does not work
vim
@ -214,7 +233,7 @@
python3
black
libnotify
# unstable.tor-browser-bundle-bin
# unstable.tor-browser-bundle-bin
libclang
libreoffice
killall
@ -232,6 +251,7 @@
gradle
maven
android-tools
scrcpy
dvdisaster
mate.engrampa
# toybox