Compare commits
No commits in common. "d73d5c5f9025b49298ec95447b960e0964d0e68d" and "f7e50441890ee845bb57e1cc76f88cf95acbf433" have entirely different histories.
d73d5c5f90
...
f7e5044189
@ -244,8 +244,7 @@
|
|||||||
};
|
};
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
enableSyntaxHighlighting = true;
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
lg = "lazygit";
|
lg = "lazygit";
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
|
|||||||
@ -53,18 +53,15 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking.hostName = "buck"; # Define your hostname.
|
||||||
hostName = "buck"; # Define your hostname.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
enableIPv6 = true;
|
networking.wireless = {
|
||||||
networkmanager.enable = true;
|
enable = true;
|
||||||
wireless = { # wpa_supplicant
|
userControlled.enable = true;
|
||||||
enable = false;
|
environmentFile = "/run/secrets/wifi/env";
|
||||||
userControlled.enable = true;
|
networks = {
|
||||||
environmentFile = "/run/secrets/wifi/env";
|
"@SSID_HOME@" = {
|
||||||
networks = {
|
pskRaw = "@PSKRAW_HOME@";
|
||||||
"@SSID_HOME@" = {
|
|
||||||
pskRaw = "@PSKRAW_HOME@";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -88,8 +85,6 @@
|
|||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
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.
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
@ -102,8 +97,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = 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:
|
# List services that you want to enable:
|
||||||
@ -115,26 +108,16 @@
|
|||||||
# Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true;
|
# 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’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users = {
|
users.users.jacob = {
|
||||||
groups.plugdev = {};
|
isNormalUser = true;
|
||||||
users.jacob = {
|
extraGroups = [ "video" "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
isNormalUser = true;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "audio" "jackaudio" "plugdev" "video" "wheel" ]; # Enable ‘sudo’ for the user.
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security.rtkit.enable = true; # recommended for pipewire
|
security.rtkit.enable = true; # recommended for pipewire
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
services = {
|
services = {
|
||||||
# If you want to use JACK applications, uncomment this
|
|
||||||
jack = {
|
|
||||||
alsa.enable = false;
|
|
||||||
jackd.enable = true;
|
|
||||||
loopback.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
logind = {
|
logind = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
[Login]
|
[Login]
|
||||||
@ -151,10 +134,12 @@
|
|||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = false;
|
enable = true;
|
||||||
alsa.enable = false;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = 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,
|
# 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)
|
# no need to redefine it in your config for now)
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
#hardware.video.hidpi.enable = true;
|
hardware.video.hidpi.enable = true;
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "powersave";
|
powerManagement.cpuFreqGovernor = "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user