Update configuration.nix
This commit is contained in:
parent
ff4ad7edcb
commit
038a090a08
@ -27,6 +27,7 @@ in
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
|
# appimage support
|
||||||
boot.binfmt.registrations.appimage = {
|
boot.binfmt.registrations.appimage = {
|
||||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||||
recognitionType = "magic";
|
recognitionType = "magic";
|
||||||
@ -36,7 +37,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# boot logo
|
# boot logo
|
||||||
#boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
|
|
||||||
# ZRAM
|
# ZRAM
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
@ -49,7 +50,7 @@ in
|
|||||||
#boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
#boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
boot.kernelPackages = pkgs.linuxPackages_xanmod_stable;
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback evdi ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
|
|
||||||
networking.hostName = "vincents-hp"; # Define your hostname.
|
networking.hostName = "vincents-hp"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
@ -150,9 +151,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# ollama
|
|
||||||
services.ollama.enable = true;
|
|
||||||
|
|
||||||
# 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 = {
|
environment = {
|
||||||
@ -188,6 +186,7 @@ in
|
|||||||
# podman
|
# podman
|
||||||
podman
|
podman
|
||||||
docker-compose
|
docker-compose
|
||||||
|
distrobox
|
||||||
# package manager
|
# package manager
|
||||||
wget
|
wget
|
||||||
# web browser
|
# web browser
|
||||||
@ -242,6 +241,9 @@ in
|
|||||||
# schedualer
|
# schedualer
|
||||||
services.system76-scheduler.enable = true;
|
services.system76-scheduler.enable = true;
|
||||||
|
|
||||||
|
# ollama
|
||||||
|
services.ollama.enable = true;
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = false;
|
services.openssh.enable = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user