Compare commits
No commits in common. "main" and "testing" have entirely different histories.
@ -7,7 +7,7 @@
|
|||||||
let
|
let
|
||||||
unstableTarball =
|
unstableTarball =
|
||||||
fetchTarball
|
fetchTarball
|
||||||
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
|
https://github.com/NixOS/nixpkgs/archive/nixos-unstbale.tar.gz;
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
||||||
@ -27,7 +27,6 @@ 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";
|
||||||
@ -37,7 +36,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# boot logo
|
# boot logo
|
||||||
boot.plymouth.enable = true;
|
#boot.plymouth.enable = true;
|
||||||
|
|
||||||
# ZRAM
|
# ZRAM
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
@ -50,7 +49,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 ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback evdi ];
|
||||||
|
|
||||||
networking.hostName = "vincents-hp"; # Define your hostname.
|
networking.hostName = "vincents-hp"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
@ -145,12 +144,15 @@ in
|
|||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
packageOverrides = pkgs: with pkgs; {
|
packageOverrides = pkgs: with pkgs; {
|
||||||
unstable = import unstableTarball {
|
stable = import unstableTarball {
|
||||||
config = config.nixpkgs.config;
|
config = config.nixpkgs.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 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 = {
|
||||||
@ -186,7 +188,6 @@ in
|
|||||||
# podman
|
# podman
|
||||||
podman
|
podman
|
||||||
docker-compose
|
docker-compose
|
||||||
distrobox
|
|
||||||
# package manager
|
# package manager
|
||||||
wget
|
wget
|
||||||
# web browser
|
# web browser
|
||||||
@ -241,9 +242,6 @@ 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;
|
||||||
|
|
||||||
|
12
readme.md
12
readme.md
@ -1,12 +0,0 @@
|
|||||||
# readme
|
|
||||||
## download & install nixos
|
|
||||||
[https://nixos.org/download/](https://nixos.org/download/)
|
|
||||||
|
|
||||||
### install nixos with plasma 6
|
|
||||||
|
|
||||||
### after install
|
|
||||||
- reboot and git clone repo into home directory
|
|
||||||
- edit `configuration.nix`
|
|
||||||
- change hostname from "nixos"
|
|
||||||
- update keyboard layout if using anything else than standard US layout
|
|
||||||
- the run `bash setup.sh`
|
|
Loading…
Reference in New Issue
Block a user