Compare commits

...

3 Commits

Author SHA1 Message Date
Jacob Hinkle
d73d5c5f90 Switch to networkmanager with applet 2023-09-14 07:45:56 -04:00
Jacob Hinkle
bced09acc2 Fix zsh syntax hightlighting setting 2023-09-13 07:58:41 -04:00
Jacob Hinkle
956165c4e3 More updates for no-external monitor 2023-09-13 07:18:29 -04:00
3 changed files with 35 additions and 19 deletions

View File

@ -244,7 +244,8 @@
};
zsh = {
enable = true;
syntaxHighlighting.enable = true;
#syntaxHighlighting.enable = true;
enableSyntaxHighlighting = true;
shellAliases = {
lg = "lazygit";
vim = "nvim";

View File

@ -53,10 +53,12 @@
};
};
networking.hostName = "buck"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.wireless = {
enable = true;
networking = {
hostName = "buck"; # Define your hostname.
enableIPv6 = true;
networkmanager.enable = true;
wireless = { # wpa_supplicant
enable = false;
userControlled.enable = true;
environmentFile = "/run/secrets/wifi/env";
networks = {
@ -65,6 +67,7 @@
};
};
};
};
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
@ -85,6 +88,8 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
networkmanager
networkmanagerapplet
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
];
@ -97,6 +102,8 @@
enable = true;
enableSSHSupport = true;
};
# This is needed in case users set zsh as their default shell
zsh.enable = true;
};
# List services that you want to enable:
@ -108,16 +115,26 @@
# Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.jacob = {
users = {
groups.plugdev = {};
users.jacob = {
isNormalUser = true;
extraGroups = [ "video" "wheel" ]; # Enable sudo for the user.
extraGroups = [ "audio" "jackaudio" "plugdev" "video" "wheel" ]; # Enable sudo for the user.
shell = pkgs.zsh;
};
};
security.rtkit.enable = true; # recommended for pipewire
# List services that you want to enable:
services = {
# If you want to use JACK applications, uncomment this
jack = {
alsa.enable = false;
jackd.enable = true;
loopback.enable = true;
};
logind = {
extraConfig = ''
[Login]
@ -134,12 +151,10 @@
openssh.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
enable = false;
alsa.enable = false;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)

View File

@ -42,7 +42,7 @@
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
hardware.video.hidpi.enable = true;
#hardware.video.hidpi.enable = true;
powerManagement.cpuFreqGovernor = "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;