Compare commits

..
15 Commits
Author SHA1 Message Date
lukas 95fa47ad09 update 2026-07-31 12:26:40 +02:00
lukas 15f46c0338 update to 26.05 2026-07-27 12:44:12 +02:00
lukas a76b2c2878 suff 2026-07-10 14:10:53 +02:00
lukas 19ab808148 Merge branch 'master' of ssh://git.lukas.services:2222/lukas/nixos 2026-05-12 11:59:53 +02:00
lukas 1841fe3a41 codex-lb and fira-code 2026-05-12 11:57:38 +02:00
lukas 99f4614227 remove insecure librechat 2026-05-11 14:28:13 +02:00
lukas f39bf6f46d update 2026-05-11 14:28:10 +02:00
lukas 18b080b98b added signal-desktop 2026-05-11 14:24:46 +02:00
lukas 8cacb192e0 enable nvidia powermanagement again 2026-05-11 14:24:32 +02:00
lukas ff60475db9 back to old nvidia and update locks 2026-04-26 13:16:29 +02:00
lukas e852954628 flake update 2026-02-27 16:13:14 +01:00
lukas 5d5f98ad90 apply nvidia fix weil diese hurensöhne es nicht schaffen software zu compilen 2026-02-20 13:54:02 +01:00
lukas 24df8085f0 update 2026-02-20 13:53:57 +01:00
lukas 4665bc0fbb added tower stuff 2026-02-15 12:28:15 +01:00
lukas 6522f7ea0b stuff 2026-02-04 18:45:32 +01:00
13 changed files with 210 additions and 52 deletions
Generated
+121
View File
@@ -0,0 +1,121 @@
{
"nodes": {
"antigravity-nix": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1784965343,
"narHash": "sha256-hropwB+0KUXoFhAtAaHo5TefpJll6l2AZ46cqDDeFbI=",
"owner": "jacopone",
"repo": "antigravity-nix",
"rev": "60fec0afe78d223e3259e862233649d00bf1d634",
"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": 1785119570,
"narHash": "sha256-Rgs2xKnGLFWQscxUaXX07oyZeuMDOHEbqDOsgliLFGM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "d4fd24667c8cbef124bb70a20380cab75ec8474d",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-26.05",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1785104993,
"narHash": "sha256-eKbrvPoAOFutbYMdbB3r5EQVmFxKv24iKqHPPUXA0gM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8623c4c20aa4ca2f5fb81510d2944066c3fb0d96",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1785110946,
"narHash": "sha256-WWuWxmXKzGZWryswWlijP3Mjp6aGy4Ngmeil5nGMMjk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d3498f786f97ac0bded21b34bae0bf3809b45aa3",
"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
}
+3 -2
View File
@@ -2,7 +2,7 @@
description = "NixOS + Home Manager config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
antigravity-nix = {
url = "github:jacopone/antigravity-nix";
@@ -10,7 +10,7 @@
};
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
@@ -73,6 +73,7 @@
modules = [
./hosts/segfault-tower/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
+3 -5
View File
@@ -9,10 +9,9 @@ in {
programs.git = {
enable = true;
userName= "Lukas";
userEmail = "mail@lukas.contact";
extraConfig = {
settings = {
user.name = "Lukas";
user.email = "mail@lukas.contact";
commit.gpgsign = true;
gpg.format = "ssh";
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
@@ -26,4 +25,3 @@ in {
+2 -2
View File
@@ -1,8 +1,9 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
programs.zsh = {
enable = true;
dotDir = config.home.homeDirectory;
enableCompletion = true;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
@@ -35,4 +36,3 @@
};
}
+2 -1
View File
@@ -10,6 +10,7 @@
pkgs.telegram-desktop
pkgs.element-desktop
pkgs.tidal-hifi
pkgs.signal-desktop
pkgs.tree
pkgs.htop
@@ -26,6 +27,7 @@
pkgs.nerd-fonts.fira-code
pkgs.fira-code
pkgs.fira-code-symbols
pkgs.meslo-lgs-nf
pkgs.eza
@@ -51,4 +53,3 @@
antigravity-nix.packages.x86_64-linux.default
];
}
+17 -9
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, antigravity-nix, ... }:
{
fonts.fontconfig.enable = true;
@@ -10,6 +10,9 @@
pkgs.telegram-desktop
pkgs.element-desktop
pkgs.tidal-hifi
pkgs.signal-desktop
pkgs.solaar
pkgs.tree
pkgs.htop
@@ -17,9 +20,6 @@
pkgs.wget
pkgs.unzip
pkgs.open-webui
pkgs.librechat
pkgs.feather
pkgs.firefox
@@ -29,26 +29,34 @@
pkgs.nerd-fonts.fira-code
pkgs.fira-code
pkgs.fira-code-symbols
pkgs.meslo-lgs-nf
pkgs.eza
pkgs.bat
pkgs.ripgrep
pkgs.sqlitebrowser
pkgs.seahorse
pkgs.binutils
pkgs.gcc
# pkgs.scenebuilder
pkgs.scenebuilder
pkgs.nil
pkgs.zotero
pkgs.jabref
pkgs.audacious
(pkgs.aspellWithDicts
(dicts: with dicts; [ de en en-computers ]))
(pkgs.aspellWithDicts (
dicts: with dicts; [
de
en
en-computers
]
))
antigravity-nix.packages.x86_64-linux.default
];
}
+1
View File
@@ -15,6 +15,7 @@
../../modules/system/gpg.nix
../../modules/system/virtualbox.nix
../../modules/system/mullvad.nix
../../modules/services/codex-lb.nix
];
networking.hostName = "segfault-machine";
+1
View File
@@ -23,6 +23,7 @@
../../modules/system/mullvad.nix
../../modules/services/ollama.nix
../../modules/services/steam.nix
../../modules/services/codex-lb.nix
];
+2 -4
View File
@@ -1,10 +1,8 @@
{ pkgs, ... }:
{
services.xserver = {
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
# To disable installing GNOME's suite of applications
+11 -1
View File
@@ -1,4 +1,14 @@
{
networking.networkmanager.enable = true;
}
services.resolved = {
enable = true;
settings.Resolve = {
DNSSEC = false;
FallbackDNS = [
"1.1.1.1"
"8.8.8.8"
];
};
};
}
+22
View File
@@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
virtualisation.oci-containers.containers.codex-lb = {
image = "ghcr.io/soju06/codex-lb:beta";
autoStart = true;
ports = [
"2455:2455"
"1455:1455"
];
volumes = [
"codex-lb-data:/var/lib/codex-lb"
];
};
networking.firewall.allowedTCPPorts = [
2455
1455
];
}
+17 -18
View File
@@ -3,8 +3,7 @@
{
services.ollama = {
enable = true;
package = pkgs.ollama;
acceleration = "cuda";
package = pkgs.ollama-cuda;
environmentVariables = {
OLLAMA_CONTEXT_LENGTH="32000";
};
@@ -14,22 +13,22 @@
Environment = [ "OLLAMA_HOST=0.0.0.0:11434" ];
};
services.open-webui = {
package = pkgs.open-webui;
enable = true;
port = 8081;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
WEBUI_AUTH = "False";
FRONTEND_BUILD_DIR = "${config.services.open-webui.stateDir}/build";
DATA_DIR = "${config.services.open-webui.stateDir}/data";
STATIC_DIR = "${config.services.open-webui.stateDir}/static";
};
};
# services.open-webui = {
# package = pkgs.open-webui;
# enable = true;
# port = 8081;
# environment = {
# ANONYMIZED_TELEMETRY = "False";
# DO_NOT_TRACK = "True";
# SCARF_NO_ANALYTICS = "True";
# OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
# OLLAMA_BASE_URL = "http://127.0.0.1:11434";
# WEBUI_AUTH = "False";
# FRONTEND_BUILD_DIR = "${config.services.open-webui.stateDir}/build";
# DATA_DIR = "${config.services.open-webui.stateDir}/data";
# STATIC_DIR = "${config.services.open-webui.stateDir}/static";
# };
# };
services.searx = {
enable = true;
+8 -10
View File
@@ -1,20 +1,19 @@
{config, pkgs, ...}:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfree = true;
services.xserver.videoDrivers = ["nvidia"];
hardware.graphics = {
enable = true;
enable32Bit = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.graphics = {
enable = true;
enable32Bit = true;
};
hardware.nvidia = {
hardware.nvidia = {
modesetting.enable = true;
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
# 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.
powerManagement.enable = true;
@@ -25,7 +24,6 @@
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
}