reconfiguring a lot of the pieces in configuration.nix to modules
This commit is contained in:
parent
1a3bf8d4a6
commit
6f0633de2c
4 changed files with 98 additions and 162 deletions
|
@ -11,6 +11,7 @@
|
|||
package = pkgs.nixVersions.unstable;
|
||||
};
|
||||
|
||||
networking.hostName = "syl"; # Define your hostname.
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
|
@ -26,17 +27,6 @@
|
|||
|
||||
hardware.acpilight.enable = lib.mkDefault true;
|
||||
|
||||
networking.hostName = "syl"; # Define your hostname.
|
||||
networking.networkmanager.enable = true;
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.wlp170s0.useDHCP = true;
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
|
@ -56,9 +46,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
hardware.uinput.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
@ -78,12 +65,6 @@
|
|||
|
||||
services.xserver.videoDrivers = ["intel"];
|
||||
|
||||
# This adds hyprland cache to cachix
|
||||
nix.settings = {
|
||||
substituters = ["https://hyprland.cachix.org"];
|
||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
||||
};
|
||||
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue