Compare commits

...

8 Commits

Author SHA1 Message Date
18b080b98b added signal-desktop 2026-05-11 14:24:46 +02:00
8cacb192e0 enable nvidia powermanagement again 2026-05-11 14:24:32 +02:00
ff60475db9 back to old nvidia and update locks 2026-04-26 13:16:29 +02:00
e852954628 flake update 2026-02-27 16:13:14 +01:00
5d5f98ad90 apply nvidia fix weil diese hurensöhne es nicht schaffen software zu compilen 2026-02-20 13:54:02 +01:00
24df8085f0 update 2026-02-20 13:53:57 +01:00
4665bc0fbb added tower stuff 2026-02-15 12:28:15 +01:00
6522f7ea0b stuff 2026-02-04 18:45:32 +01:00
7 changed files with 171 additions and 34 deletions

121
flake.lock generated Normal file
View File

@@ -0,0 +1,121 @@
{
"nodes": {
"antigravity-nix": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1776411505,
"narHash": "sha256-7HILfdTOvWzAMmfS3lQV3MDmVrr2Epj8x4c9F3mzOSE=",
"owner": "jacopone",
"repo": "antigravity-nix",
"rev": "9f31d28882185d30c0e3082fbc52dab1cd4e879f",
"type": "github"
},
"original": {
"owner": "jacopone",
"repo": "antigravity-nix",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1775425411,
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1776734388,
"narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1776949667,
"narHash": "sha256-GMSVw35Q+294GlrTUKlx087E31z7KurReQ1YHSKp5iw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "01fbdeef22b76df85ea168fbfe1bfd9e63681b30",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"antigravity-nix": "antigravity-nix",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@@ -73,6 +73,7 @@
modules = [ modules = [
./hosts/segfault-tower/configuration.nix ./hosts/segfault-tower/configuration.nix
home-manager.nixosModules.home-manager
{ {
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;

View File

@@ -10,6 +10,7 @@
pkgs.telegram-desktop pkgs.telegram-desktop
pkgs.element-desktop pkgs.element-desktop
pkgs.tidal-hifi pkgs.tidal-hifi
pkgs.signal-desktop
pkgs.tree pkgs.tree
pkgs.htop pkgs.htop

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, antigravity-nix, ... }:
{ {
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@@ -10,6 +10,9 @@
pkgs.telegram-desktop pkgs.telegram-desktop
pkgs.element-desktop pkgs.element-desktop
pkgs.tidal-hifi pkgs.tidal-hifi
pkgs.signal-desktop
pkgs.solaar
pkgs.tree pkgs.tree
pkgs.htop pkgs.htop
@@ -17,7 +20,6 @@
pkgs.wget pkgs.wget
pkgs.unzip pkgs.unzip
pkgs.open-webui
pkgs.librechat pkgs.librechat
pkgs.feather pkgs.feather
@@ -34,21 +36,27 @@
pkgs.eza pkgs.eza
pkgs.bat pkgs.bat
pkgs.ripgrep pkgs.ripgrep
pkgs.sqlitebrowser
pkgs.seahorse pkgs.seahorse
pkgs.binutils pkgs.binutils
pkgs.gcc pkgs.gcc
# pkgs.scenebuilder pkgs.scenebuilder
pkgs.nil pkgs.nil
pkgs.zotero pkgs.zotero
pkgs.jabref
(pkgs.aspellWithDicts (pkgs.aspellWithDicts (
(dicts: with dicts; [ de en en-computers ])) dicts: with dicts; [
de
en
en-computers
]
))
antigravity-nix.packages.x86_64-linux.default
]; ];
} }

View File

@@ -1,4 +1,12 @@
{ {
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
}
services.resolved = {
enable = true;
dnssec = "false";
fallbackDns = [
"1.1.1.1"
"8.8.8.8"
];
};
}

View File

@@ -14,22 +14,22 @@
Environment = [ "OLLAMA_HOST=0.0.0.0:11434" ]; Environment = [ "OLLAMA_HOST=0.0.0.0:11434" ];
}; };
services.open-webui = { # services.open-webui = {
package = pkgs.open-webui; # package = pkgs.open-webui;
enable = true; # enable = true;
port = 8081; # port = 8081;
environment = { # environment = {
ANONYMIZED_TELEMETRY = "False"; # ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True"; # DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True"; # SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api"; # OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
OLLAMA_BASE_URL = "http://127.0.0.1:11434"; # OLLAMA_BASE_URL = "http://127.0.0.1:11434";
WEBUI_AUTH = "False"; # WEBUI_AUTH = "False";
FRONTEND_BUILD_DIR = "${config.services.open-webui.stateDir}/build"; # FRONTEND_BUILD_DIR = "${config.services.open-webui.stateDir}/build";
DATA_DIR = "${config.services.open-webui.stateDir}/data"; # DATA_DIR = "${config.services.open-webui.stateDir}/data";
STATIC_DIR = "${config.services.open-webui.stateDir}/static"; # STATIC_DIR = "${config.services.open-webui.stateDir}/static";
}; # };
}; # };
services.searx = { services.searx = {
enable = true; enable = true;

View File

@@ -1,20 +1,19 @@
{config, pkgs, ...}:
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
}; };
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
# Nvidia power management. Experimental, and can cause sleep/suspend to fail. # Nvidia power management. Experimental, and can cause sleep/suspend to fail.
# Enable this if you have graphical corruption issues or application crashes after waking # Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
# of just the bare essentials. # of just the bare essentials.
powerManagement.enable = true; powerManagement.enable = true;
@@ -25,7 +24,6 @@
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
}; };
} }