chore: reformat using nixd and nixfmt-rfc-style

This commit is contained in:
Veneficium 2024-09-18 18:34:21 +02:00
parent 1ea540535e
commit 813cc599f0
38 changed files with 280 additions and 166 deletions

View file

@ -10,21 +10,31 @@
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
}; };
outputs = inputs@{ self, nixpkgs, home-manager, ... }: outputs =
inputs@{
self,
nixpkgs,
home-manager,
...
}:
let let
pkgs = system: import nixpkgs { pkgs =
inherit system; system:
overlays = [ import nixpkgs {
inputs.nix-vscode-extensions.overlays.default inherit system;
]; overlays = [ inputs.nix-vscode-extensions.overlays.default ];
config = { allowUnfree = true; }; config = {
}; allowUnfree = true;
};
};
in in
{ {
nixosConfigurations = { nixosConfigurations = {
fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem rec { fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { pkgs = (pkgs system); }; specialArgs = {
pkgs = (pkgs system);
};
modules = [ modules = [
./hosts/main-laptop/configuration.nix ./hosts/main-laptop/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
@ -39,10 +49,10 @@
veneficium-main-homelab-nixos = nixpkgs.lib.nixosSystem rec { veneficium-main-homelab-nixos = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { pkgs = (pkgs system); }; specialArgs = {
modules = [ pkgs = (pkgs system);
./hosts/main-homelab/configuration.nix };
]; modules = [ ./hosts/main-homelab/configuration.nix ];
}; };
}; };
}; };

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
programs.bun = { programs.bun = {
enable = true; enable = true;
enableGitIntegration = true; enableGitIntegration = true;

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
programs.fastfetch = { programs.fastfetch = {
enable = true; enable = true;
#todo add fastfetch config #todo add fastfetch config

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
programs.git = { programs.git = {
enable = true; enable = true;
userEmail = "85629831+veneficium42@users.noreply.github.com"; userEmail = "85629831+veneficium42@users.noreply.github.com";

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
imports = [ ./fastfetch.nix ]; imports = [ ./fastfetch.nix ];
programs.hyfetch = { programs.hyfetch = {
enable = true; enable = true;

View file

@ -1,6 +1,10 @@
{ pkgs, ... }: { { pkgs, ... }:
{
programs.password-store = { programs.password-store = {
enable = true; enable = true;
package = pkgs.pass-wayland.withExtensions (exts: [ exts.pass-checkup exts.pass-audit ]); package = pkgs.pass-wayland.withExtensions (exts: [
exts.pass-checkup
exts.pass-audit
]);
}; };
} }

View file

@ -1,3 +1,4 @@
{ ... }: { { ... }:
{
services.amberol.enable = true; services.amberol.enable = true;
} }

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
#todo config #todo config
programs.firefox = { programs.firefox = {
enable = true; enable = true;

View file

@ -1,3 +1,4 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.packages = [ pkgs.vesktop ]; home.packages = [ pkgs.vesktop ];
} }

View file

@ -1,8 +1,10 @@
{ pkgs, ... }: { { pkgs, ... }:
{
#The VSCoderrrrrrrr #The VSCoderrrrrrrr
#codepilled nixmaxxer #codepilled nixmaxxer
#god I love tumblr #god I love tumblr
#tumblrpilled mememaxxer #tumblrpilled mememaxxer
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
@ -10,29 +12,40 @@
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
mutableExtensionsDir = false; mutableExtensionsDir = false;
extensions = with pkgs.vscode-extensions; [ extensions =
ms-vscode.cpptools with pkgs.vscode-extensions;
ms-vscode.live-server [
mhutchie.git-graph ms-vscode.cpptools
pkief.material-icon-theme ms-vscode.live-server
pkief.material-product-icons mhutchie.git-graph
oderwat.indent-rainbow pkief.material-icon-theme
bierner.markdown-emoji pkief.material-product-icons
bierner.emojisense oderwat.indent-rainbow
jnoortheen.nix-ide bierner.markdown-emoji
rust-lang.rust-analyzer bierner.emojisense
biomejs.biome jnoortheen.nix-ide
] ++ (with pkgs.open-vsx; [ rust-lang.rust-analyzer
jeanp413.open-remote-ssh biomejs.biome
antfu.unocss ]
]); ++ (with pkgs.open-vsx; [
jeanp413.open-remote-ssh
antfu.unocss
]);
userSettings = { userSettings = {
"workbench.iconTheme" = "material-icon-theme"; "workbench.iconTheme" = "material-icon-theme";
"workbench.productIconTheme" = "material-product-icons"; "workbench.productIconTheme" = "material-product-icons";
"terminal.integrated.fontFamily" = "FiraCode Nerd Font";
"terminal.integrated.fontSize" = 14;
"terminal.integrated.fontWeight" = 500;
"editor.fontFamily" = "FiraCode Nerd Font Mono";
"editor.fontLigatures" = true;
"editor.formatOnSave" = true; "editor.formatOnSave" = true;
"workbench.sideBar.location" = "right"; "workbench.sideBar.location" = "right";
"workbench.startupEditor" = "welcomePageInEmptyWorkbench"; "workbench.startupEditor" = "welcomePageInEmptyWorkbench";
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
"nix.serverPath" = "nixd"; "nix.serverPath" = "nixd";
"nix.serverSettings" = { "nix.serverSettings" = {
@ -44,11 +57,6 @@
}; };
"C_Cpp.clang_format_fallbackStyle" = "LLVM"; "C_Cpp.clang_format_fallbackStyle" = "LLVM";
"editor.fontFamily" = "FiraCode Nerd Font Mono";
"editor.fontLigatures" = true;
"terminal.integrated.fontFamily" = "FiraCode Nerd Font";
"terminal.integrated.fontSize" = 14;
"terminal.integrated.fontWeight" = 500;
}; };
}; };
} }

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
programs.starship = { programs.starship = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
#todo config #todo config
programs.zsh = { programs.zsh = {
enable = true; enable = true;

View file

@ -1,11 +1,11 @@
{ pkgs, lib, ... }: { { pkgs, lib, ... }:
{
imports = imports = [
[ # Include the results of the hardware scan.
# Include the results of the hardware scan. ./hardware-configuration.nix
./hardware-configuration.nix ../../nixosModules/default.nix
../../nixosModules/default.nix ];
];
settings = { settings = {
users.veneficium.enable = lib.mkForce true; users.veneficium.enable = lib.mkForce true;
@ -49,9 +49,12 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
#enable flakes #enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [
"nix-command"
"flakes"
];
#DO NOT CHANGE THIS! IMPORTANT! DO NOT CHANGE THIS! #DO NOT CHANGE THIS! IMPORTANT! DO NOT CHANGE THIS!
system.stateVersion = "24.05"; #DO NOT CHANGE THIS! system.stateVersion = "24.05"; # DO NOT CHANGE THIS!
} }

View file

@ -1,31 +1,43 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [
"vmd"
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/58d4396b-d87c-419b-ac35-c4d282ef05b1";
device = "/dev/disk/by-uuid/58d4396b-d87c-419b-ac35-c4d282ef05b1"; fsType = "ext4";
fsType = "ext4"; };
};
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/F5D9-1046";
device = "/dev/disk/by-uuid/F5D9-1046"; fsType = "vfat";
fsType = "vfat"; options = [
options = [ "fmask=0022" "dmask=0022" ]; "fmask=0022"
}; "dmask=0022"
];
};
swapDevices = [ ]; swapDevices = [ ];

View file

@ -1,9 +1,17 @@
{ lib, pkgs, ... }: { { lib, pkgs, ... }:
imports = {
[ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../nixosModules/default.nix ../../nixosModules/default.nix
]; ];
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
#required by virt-manager
programs.dconf.enable = true;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "fedfer" ];
settings = { settings = {
users.fedfer.enable = lib.mkForce true; users.fedfer.enable = lib.mkForce true;
@ -59,7 +67,7 @@
}; };
#remove various bloat #remove various bloat
services.xserver.excludePackages = with pkgs; [ xterm ]; services.xserver.excludePackages = with pkgs; [ xterm ];
hardware = { hardware = {
bluetooth = { bluetooth = {
@ -85,8 +93,11 @@
]; ];
#enable flakes #enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [
"nix-command"
"flakes"
];
system.stateVersion = "23.11"; #DO NOT CHANGE THIS! system.stateVersion = "23.11"; # DO NOT CHANGE THIS!
} }

View file

@ -1,33 +1,38 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, modulesPath, ... }: {
config,
lib,
modulesPath,
...
}:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-label/nixos";
device = "/dev/disk/by-label/nixos"; fsType = "ext4";
fsType = "ext4"; };
};
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-label/BOOT";
device = "/dev/disk/by-label/BOOT"; fsType = "vfat";
fsType = "vfat"; };
};
swapDevices = swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
[{ device = "/dev/disk/by-label/swap"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
imports = [ imports = [
../../homeManagerModules/zsh.nix ../../homeManagerModules/zsh.nix
@ -47,6 +48,6 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
home.stateVersion = "23.11"; #DO NOT CHANGE home.stateVersion = "23.11"; # DO NOT CHANGE
programs.home-manager.enable = true; #DO NOT CHANGE programs.home-manager.enable = true; # DO NOT CHANGE
} }

View file

@ -1,31 +1,31 @@
{ lib, ... }: { { lib, ... }:
imports = {
[ imports = [
./locale.nix ./locale.nix
./users/fedfer.nix ./users/fedfer.nix
./users/veneficium.nix ./users/veneficium.nix
./drivers/samsung-printer.nix ./drivers/samsung-printer.nix
./drivers/ipod.nix ./drivers/ipod.nix
./drivers/gpu/amd.nix ./drivers/gpu/amd.nix
./drivers/gpu/nvidia.nix ./drivers/gpu/nvidia.nix
./drivers/gpu/disableNvidia.nix ./drivers/gpu/disableNvidia.nix
./services/gnome.nix ./services/gnome.nix
./services/pipewire.nix ./services/pipewire.nix
./services/printing.nix ./services/printing.nix
./services/fstrim.nix ./services/fstrim.nix
./services/tlp.nix ./services/tlp.nix
./services/switcheroo.nix ./services/switcheroo.nix
./services/pam.nix ./services/pam.nix
./services/openssh.nix ./services/openssh.nix
./programs/docker.nix ./programs/docker.nix
./programs/tailscale.nix ./programs/tailscale.nix
./programs/powertop.nix ./programs/powertop.nix
./programs/gnupg.nix ./programs/gnupg.nix
]; ];
settings = { settings = {
users.fedfer.enable = lib.mkDefault false; users.fedfer.enable = lib.mkDefault false;

View file

@ -1,4 +1,5 @@
{ lib, config, ... }: { { lib, config, ... }:
{
options.settings.drivers.gpu.amd = { options.settings.drivers.gpu.amd = {
enable = lib.mkEnableOption "enable AMD gpu drivers"; enable = lib.mkEnableOption "enable AMD gpu drivers";

View file

@ -1,4 +1,5 @@
{ lib, config, ... }: { { lib, config, ... }:
{
options = { options = {
settings.drivers.gpu.nvidia.forceDisable = lib.mkEnableOption "force disable all nvidia drivers"; settings.drivers.gpu.nvidia.forceDisable = lib.mkEnableOption "force disable all nvidia drivers";
@ -20,6 +21,13 @@
# Remove NVIDIA VGA/3D controller devices # Remove NVIDIA VGA/3D controller devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", ATTR{power/control}="auto", ATTR{remove}="1" ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", ATTR{power/control}="auto", ATTR{remove}="1"
''; '';
boot.blacklistedKernelModules = [ "nouveau" "nvidia" "nvidia_uvm" "nvidiafb" "nvidia_drm" "nvidia_modeset" ]; boot.blacklistedKernelModules = [
"nouveau"
"nvidia"
"nvidia_uvm"
"nvidiafb"
"nvidia_drm"
"nvidia_modeset"
];
}; };
} }

View file

@ -1,4 +1,5 @@
{ lib, config, ... }: { { lib, config, ... }:
{
options.settings.drivers.gpu.nvidia = { options.settings.drivers.gpu.nvidia = {
enable = lib.mkEnableOption "Enable Nvidia proprietary drivers"; enable = lib.mkEnableOption "Enable Nvidia proprietary drivers";

View file

@ -1,4 +1,10 @@
{ lib, config, pkgs, ... }: { {
lib,
config,
pkgs,
...
}:
{
options.settings.drivers.ipod = { options.settings.drivers.ipod = {
enable = lib.mkEnableOption "Enable necessary software for ipod communication"; enable = lib.mkEnableOption "Enable necessary software for ipod communication";
@ -7,9 +13,7 @@
config = lib.mkIf config.settings.drivers.ipod.enable { config = lib.mkIf config.settings.drivers.ipod.enable {
services.usbmuxd.enable = true; services.usbmuxd.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [ libimobiledevice ];
libimobiledevice
];
}; };
} }

View file

@ -1,4 +1,10 @@
{ lib, config, pkgs, ... }: { {
lib,
config,
pkgs,
...
}:
{
#use driver compatible with samsung M2020 printer #use driver compatible with samsung M2020 printer
options.settings.drivers.printer = { options.settings.drivers.printer = {
M2020.enable = lib.mkEnableOption "use the appropriate driver for the samsung M2020 printer"; M2020.enable = lib.mkEnableOption "use the appropriate driver for the samsung M2020 printer";

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
time.timeZone = "Europe/Rome"; time.timeZone = "Europe/Rome";

View file

@ -1,9 +1,8 @@
{ lib, config, ... }: { { lib, config, ... }:
{
options.settings.programs.docker = { options.settings.programs.docker = {
enable = lib.mkEnableOption "enables docker"; enable = lib.mkEnableOption "enables docker";
}; };
config = lib.mkIf config.settings.programs.docker.enable { config = lib.mkIf config.settings.programs.docker.enable { virtualisation.docker.enable = true; };
virtualisation.docker.enable = true;
};
} }

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.programs.gnupg = { options.settings.programs.gnupg = {
enable = lib.mkEnableOption "enable gnuPG"; enable = lib.mkEnableOption "enable gnuPG";
ssh = lib.mkEnableOption "enable gnuPG ssh integration"; ssh = lib.mkEnableOption "enable gnuPG ssh integration";

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.programs.powertop = { options.settings.programs.powertop = {
enable = lib.mkEnableOption "enables powertop"; enable = lib.mkEnableOption "enables powertop";
}; };

View file

@ -1,9 +1,8 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.programs.tailscale = { options.settings.programs.tailscale = {
enable = lib.mkEnableOption "enable tailscale"; enable = lib.mkEnableOption "enable tailscale";
}; };
config = lib.mkIf config.settings.programs.tailscale.enable { config = lib.mkIf config.settings.programs.tailscale.enable { services.tailscale.enable = true; };
services.tailscale.enable = true;
};
} }

View file

@ -1,9 +1,8 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.fstrim = { options.settings.services.fstrim = {
enable = lib.mkEnableOption "enables fstrim"; enable = lib.mkEnableOption "enables fstrim";
}; };
config = lib.mkIf config.settings.services.fstrim.enable { config = lib.mkIf config.settings.services.fstrim.enable { services.fstrim.enable = true; };
services.fstrim.enable = true;
};
} }

View file

@ -1,4 +1,10 @@
{ config, lib, pkgs, ... }: { {
config,
lib,
pkgs,
...
}:
{
options.settings.gnome = { options.settings.gnome = {
enable = lib.mkEnableOption "enable gnome de"; enable = lib.mkEnableOption "enable gnome de";
}; };
@ -21,6 +27,15 @@
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
# remove various bloat # remove various bloat
environment.gnome.excludePackages = with pkgs; [ gnome-contacts gnome-maps gnome-music gnome-weather gnome-tour epiphany totem yelp ]; environment.gnome.excludePackages = with pkgs; [
gnome-contacts
gnome-maps
gnome-music
gnome-weather
gnome-tour
epiphany
totem
yelp
];
}; };
} }

View file

@ -1,10 +1,10 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.openssh = { options.settings.services.openssh = {
enable = lib.mkEnableOption "enable openSSH"; enable = lib.mkEnableOption "enable openSSH";
usePAM = lib.mkEnableOption "use PAM for ssh authentication"; usePAM = lib.mkEnableOption "use PAM for ssh authentication";
}; };
#further move these options into settings #further move these options into settings
config = lib.mkIf config.settings.services.openssh.enable { config = lib.mkIf config.settings.services.openssh.enable {
services.openssh = { services.openssh = {

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.pam = { options.settings.services.pam = {
enable = lib.mkEnableOption "enables PAM"; enable = lib.mkEnableOption "enables PAM";
sshd = { sshd = {

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.audio = { options.settings.services.audio = {
enable = lib.mkEnableOption "enable sound through pipewire and its compat layers"; enable = lib.mkEnableOption "enable sound through pipewire and its compat layers";
}; };

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.printing = { options.settings.services.printing = {
enable = lib.mkEnableOption "enable printing"; enable = lib.mkEnableOption "enable printing";
}; };

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.switcheroo = { options.settings.services.switcheroo = {
enable = lib.mkEnableOption "enable switcheroo-control for nvidia optimus management"; enable = lib.mkEnableOption "enable switcheroo-control for nvidia optimus management";
}; };

View file

@ -1,9 +1,8 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.services.tlp = { options.settings.services.tlp = {
enable = lib.mkEnableOption "enables tlp for power management"; enable = lib.mkEnableOption "enables tlp for power management";
}; };
config = lib.mkIf config.settings.services.tlp.enable { config = lib.mkIf config.settings.services.tlp.enable { services.tlp.enable = true; };
services.tlp.enable = true;
};
} }

View file

@ -1,5 +1,11 @@
#need to move stuff to home-manager #need to move stuff to home-manager
{ pkgs, config, lib, ... }: { {
pkgs,
config,
lib,
...
}:
{
options.settings.users.fedfer = { options.settings.users.fedfer = {
enable = lib.mkEnableOption "enables user FedFer"; enable = lib.mkEnableOption "enables user FedFer";
}; };
@ -8,7 +14,10 @@
users.users.fedfer = { users.users.fedfer = {
isNormalUser = true; isNormalUser = true;
description = "FedFer"; description = "FedFer";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [
"networkmanager"
"wheel"
];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
}; };

View file

@ -1,4 +1,5 @@
{ config, lib, ... }: { { config, lib, ... }:
{
options.settings.users.veneficium = { options.settings.users.veneficium = {
enable = lib.mkEnableOption "enables user Veneficium"; enable = lib.mkEnableOption "enables user Veneficium";
}; };
@ -7,7 +8,10 @@
users.users.veneficium = { users.users.veneficium = {
isNormalUser = true; isNormalUser = true;
description = "Veneficium"; description = "Veneficium";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [
"networkmanager"
"wheel"
];
}; };
}; };
} }