Big, might break stuff

This commit is contained in:
Bryan Ramos 2024-01-28 06:42:03 -05:00
parent 5fafc45eb4
commit 54c6e42ca0
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
6 changed files with 57 additions and 51 deletions

View file

@ -2,6 +2,11 @@
{ system.stateVersion = "22.11";
# Users
users.users = {
${config.user.name} = config.user;
};
# Nix
nix = {
channel.enable = false;
@ -18,6 +23,22 @@
};
};
# Bootloader
boot.loader = {
timeout = null;
grub = {
enable = true;
useOSProber = true;
devices = [ "nodev" ];
efiSupport = true;
configurationLimit = 5;
};
efi = {
canTouchEfiVariables = true;
};
};
environment.systemPackages = with pkgs; [
pavucontrol
@ -50,17 +71,7 @@
alsa.support32Bit = true;
};
# Users
users.users = {
${config.user.name} = {
isNormalUser = true;
extraGroups = config.user.groups;
openssh.authorizedKeys = lib.mkIf (config.user.name == "bryan") {
keys = config.user.sshKeys;
};
};
};
# Sudo Options
security.sudo = {
wheelNeedsPassword = false;
execWheelOnly = true;
@ -100,7 +111,7 @@
# Networking
networking = {
hostName = "${config.user.host}";
hostName = "socrates";
useDHCP = lib.mkDefault true;
networkmanager.enable = true;
firewall = {