From 5446080f441238d178e1617c1447c24e1cdfbfc6 Mon Sep 17 00:00:00 2001 From: boyreau Date: Wed, 17 Jun 2026 22:23:09 +0200 Subject: [PATCH] formatting and no more useless params --- bootloader.nix | 2 -- configuration.nix | 22 +++++++++++++++++++++- hardware-configuration.nix | 1 - security.nix | 7 ------- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/bootloader.nix b/bootloader.nix index c06fa30..fc387ea 100644 --- a/bootloader.nix +++ b/bootloader.nix @@ -1,6 +1,4 @@ { - config, - lib, pkgs, ... }: diff --git a/configuration.nix b/configuration.nix index f25997f..17c8161 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,6 @@ { config, - lib, pkgs, ... }: @@ -70,6 +69,7 @@ systemd = { defaultUnit = "graphical.target"; + services."getty@tty1" = { overrideStrategy = "asDropin"; serviceConfig.ExecStart = [ @@ -92,6 +92,26 @@ shell = pkgs.bash; }; + users.users.flake = { + isNormalUser = true; + extraGroups = [ + "audio" + "video" + "network" + ]; + shell = pkgs.bash; + }; + + users.users.ella = { + isNormalUser = true; + extraGroups = [ + "audio" + "video" + "network" + ]; + shell = pkgs.bash; + }; + # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 1b58f56..70f59ba 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -4,7 +4,6 @@ { config, lib, - pkgs, modulesPath, ... }: diff --git a/security.nix b/security.nix index c5e148e..7243dcc 100644 --- a/security.nix +++ b/security.nix @@ -1,10 +1,3 @@ -{ - config, - lib, - pkgs, - ... -}: - { networking.nftables.enable = true; networking.firewall = {