exp: impermanence on voidspear
This commit is contained in:
parent
306f80a078
commit
c77266c716
4 changed files with 54 additions and 40 deletions
|
|
@ -18,25 +18,10 @@
|
|||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "voidspear"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# ZeroTier
|
||||
services.zerotierone.enable = true;
|
||||
services.zerotierone.joinNetworks = [ "b3ce837c63" "363c67c55a726a89" ];
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
libGL
|
||||
SDL2
|
||||
];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Athens";
|
||||
|
||||
|
|
@ -55,6 +40,48 @@
|
|||
LC_TIME = "en_GB.UTF-8";
|
||||
};
|
||||
|
||||
# Impermanence
|
||||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/home"
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/var/lib/nixos"
|
||||
"/home"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
programs.zsh.enable = true; # home-manager already installs this but nixos complains w/o it
|
||||
users.users.xory = {
|
||||
isNormalUser = true;
|
||||
description = "xory";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirt" "dialout" ];
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$6$JXLpG5JYMJgZndm9$0sC8uPJ99cYL.hNv3DFQ20ky8tiZoxioe9GlMEanTwAD99LJ175/bHtN6Bm6bYsQG1BVGRdmphnXEcWS9ApoK0";
|
||||
};
|
||||
|
||||
# ZeroTier
|
||||
services.zerotierone.enable = true;
|
||||
services.zerotierone.joinNetworks = [ "b3ce837c63" "363c67c55a726a89" ];
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
libGL
|
||||
SDL2
|
||||
];
|
||||
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
# You can disable this if you're only using the Wayland session.
|
||||
services.xserver.enable = true;
|
||||
|
|
@ -103,17 +130,6 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
programs.zsh.enable = true; # home-manager already installs this but nixos complains w/o it
|
||||
users.users.xory = {
|
||||
isNormalUser = true;
|
||||
description = "xory";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirt" "dialout" ];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
services.ollama.enable = true;
|
||||
services.ollama.acceleration = "cuda";
|
||||
|
|
|
|||
|
|
@ -20,10 +20,7 @@
|
|||
ffmpeg
|
||||
yt-dlp
|
||||
prismlauncher
|
||||
(discord.override {
|
||||
withOpenASAR = true;
|
||||
withVencord = true;
|
||||
})
|
||||
vesktop
|
||||
keepassxc
|
||||
obs-studio
|
||||
mpv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue