Changed how additonal home manager modules are imported. Started work on desktop environment specific specialisations. Started actually configuring hyprland
This commit is contained in:
@ -26,6 +26,28 @@
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
specialisation = {
|
||||
gaming = {
|
||||
configuration = {
|
||||
imports = [
|
||||
./plasma/kde-plasma.nix
|
||||
];
|
||||
|
||||
programs.gamemode.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
minimal = {
|
||||
inheritParentConfig = false;
|
||||
configuration = {
|
||||
imports = [
|
||||
./minimal.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader = {
|
||||
systemd-boot.enable = false;
|
||||
@ -99,6 +121,8 @@
|
||||
fprintd.tod.enable = true;
|
||||
fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
|
||||
|
||||
fwupd.enable = true; #Allows BIOS updates
|
||||
|
||||
locate = {
|
||||
enable = true;
|
||||
package = pkgs.plocate;
|
||||
@ -137,7 +161,7 @@
|
||||
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
theme = "breeze";
|
||||
wayland.enable = true;
|
||||
};
|
||||
@ -232,16 +256,9 @@
|
||||
|
||||
#So no user in the group Wheel has to input the password in order to use sudo
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# #Install firefox.
|
||||
#programs.firefox.enable = true;
|
||||
#Enabled in a separate firefox.nix
|
||||
|
||||
#Allow Nix Commands
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
#To allow the Flake to build all packages (Too many open files error)
|
||||
#systemd.services.nix-deamon.serviceConfig.LimitNOFILE = 100000;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
Reference in New Issue
Block a user