Compare commits
6 Commits
27855e7370
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e67e4b509 | |||
| e2235667d7 | |||
| c4ac0db59b | |||
| 1df9c63cea | |||
| 8c0ad59c3d | |||
| 2126a0f899 |
@@ -47,6 +47,21 @@
|
|||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
# services.xserver.enable = true;
|
# services.xserver.enable = true;
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
|
LC_MONETARY = "en_US.UTF-8";
|
||||||
|
LC_NAME = "en_US.UTF-8";
|
||||||
|
LC_NUMERIC = "en_US.UTF-8";
|
||||||
|
LC_PAPER = "en_US.UTF-8";
|
||||||
|
LC_TELEPHONE = "en_US.UTF-8";
|
||||||
|
LC_TIME = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@@ -272,6 +287,12 @@
|
|||||||
typst # typst compilation
|
typst # typst compilation
|
||||||
tinymist # typst previews
|
tinymist # typst previews
|
||||||
binaryninja-free # broke ahh cracker
|
binaryninja-free # broke ahh cracker
|
||||||
|
patchelf # make programs understand nix. good for downloaded executables such as crackmes
|
||||||
|
starsector # support indie games!
|
||||||
|
htop
|
||||||
|
mullvad-vpn # arrr
|
||||||
|
qbittorrent # arrr
|
||||||
|
mpv # arrr
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -308,16 +329,15 @@
|
|||||||
powerOnBoot = true;
|
powerOnBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager = {
|
# networking.networkmanager = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
# This is the critical line that fixes your error
|
# plugins = with pkgs; [
|
||||||
plugins = with pkgs; [
|
# networkmanager-openvpn # for htb
|
||||||
networkmanager-openvpn
|
# ];
|
||||||
];
|
# };
|
||||||
};
|
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = false;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
# Force Ollama to only see the dedicated GPU
|
# Force Ollama to only see the dedicated GPU
|
||||||
@@ -338,9 +358,14 @@
|
|||||||
services.displayManager.sddm.enable = true; # Enable display manager
|
services.displayManager.sddm.enable = true; # Enable display manager
|
||||||
services.displayManager.sddm.wayland.enable = true; # Wayland - hyprland
|
services.displayManager.sddm.wayland.enable = true; # Wayland - hyprland
|
||||||
|
|
||||||
|
services.mullvad-vpn.package = pkgs.mullvad-vpn; # arr
|
||||||
|
services.resolved.enable = true; # for mullvad
|
||||||
|
|
||||||
programs.ssh.startAgent = true; # Enable SSH tools
|
programs.ssh.startAgent = true; # Enable SSH tools
|
||||||
programs.thunar.enable = true; # file manager
|
programs.thunar.enable = true; # file manager
|
||||||
|
|
||||||
|
virtualisation.waydroid.enable = true; # android :0
|
||||||
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"steam"
|
"steam"
|
||||||
@@ -399,4 +424,4 @@
|
|||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "25.11"; # Did you read the comment?
|
system.stateVersion = "25.11"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
@@ -13,35 +13,39 @@
|
|||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
systemd.services.heat-room = {
|
# systemd.services.heat-room = {
|
||||||
description = "Morning room heating";
|
# description = "Morning room heating";
|
||||||
serviceConfig = {
|
# after = [ "graphical-session.target" ];
|
||||||
Type = "oneshot";
|
# environment = {
|
||||||
User = "jeremy";
|
# WAYLAND_DISPLAY = "wayland-1";
|
||||||
};
|
# XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
script = ''
|
# };
|
||||||
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
# serviceConfig = {
|
||||||
sleep 1s
|
# Type = "oneshot";
|
||||||
hyprctl dispatch dpms off
|
# User = "jeremy";
|
||||||
sleep 2h
|
# };
|
||||||
pkill furmark
|
# script = ''
|
||||||
'';
|
# ${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
||||||
};
|
# sleep 1s
|
||||||
|
# ${pkgs.hyprland}/bin/hyprctl dispatch dpms off
|
||||||
|
# sleep 2h
|
||||||
|
# pkill furmark
|
||||||
|
# '';
|
||||||
|
# };
|
||||||
|
|
||||||
|
# systemd.timers.heat-room = {
|
||||||
|
# wantedBy = [ "timers.target" ];
|
||||||
systemd.timers.heat-room = {
|
# timerConfig = {
|
||||||
wantedBy = [ "timers.target" ];
|
# OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
|
||||||
timerConfig = {
|
# Persistent = true; # Run immediately if a scheduled time was missed
|
||||||
OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
|
# WakeSystem = true; # Wakes the system from suspend/hibernate
|
||||||
Persistent = true; # Run immediately if a scheduled time was missed
|
# Unit = "heat-room.service";
|
||||||
WakeSystem = true; # Wakes the system from suspend/hibernate
|
# };
|
||||||
Unit = "heat-room.service";
|
# };
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
rocmPackages.clr.icd # Enables OpenCL support for AMD
|
rocmPackages.clr.icd # Enables OpenCL support for AMD
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user