Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
c249b8fd28 | |||
bde8767764 | |||
038a090a08 | |||
ff4ad7edcb | |||
7d522ccc01 |
@ -7,7 +7,7 @@
|
|||||||
let
|
let
|
||||||
unstableTarball =
|
unstableTarball =
|
||||||
fetchTarball
|
fetchTarball
|
||||||
https://github.com/NixOS/nixpkgs/archive/nixos-unstbale.tar.gz;
|
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
||||||
@ -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;
|
||||||
@ -144,15 +145,12 @@ in
|
|||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
packageOverrides = pkgs: with pkgs; {
|
packageOverrides = pkgs: with pkgs; {
|
||||||
stable = import unstableTarball {
|
unstable = 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 = {
|
||||||
@ -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;
|
||||||
|
|
||||||
|
12
readme.md
Normal file
12
readme.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 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