This commit is contained in:
alsaiduq-lab 2025-03-31 16:39:56 -06:00
parent 4aaf6b9d99
commit 5ef5281dc1
15 changed files with 31 additions and 45 deletions

View file

@ -140,5 +140,6 @@ in {
ollama ollama
tree-sitter tree-sitter
luajitPackages.jsregexp luajitPackages.jsregexp
tailscale
]; ];
} }

View file

@ -15,6 +15,5 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cava cava
pulseaudio pulseaudio
ffmpeg
]; ];
} }

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
# Bootloader # Bootloader
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@ -13,9 +10,13 @@
deps = []; deps = [];
text = '' text = ''
mkdir -p /bin mkdir -p /bin
if [ ! -e /bin/bash ]; then
ln -sf ${pkgs.bash}/bin/bash /bin/bash ln -sf ${pkgs.bash}/bin/bash /bin/bash
fi
mkdir -p /usr/bin mkdir -p /usr/bin
if [ ! -e /usr/bin/env ]; then
ln -sf ${pkgs.coreutils}/bin/env /usr/bin/env ln -sf ${pkgs.coreutils}/bin/env /usr/bin/env
fi
''; '';
}; };
} }

View file

@ -18,6 +18,7 @@
./timezone.nix ./timezone.nix
./user.nix ./user.nix
./python.nix ./python.nix
./tailscale.nix
]; ];
# Enable CUPS to print documents. # Enable CUPS to print documents.

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
enableOnBoot = true; enableOnBoot = true;

View file

@ -13,7 +13,6 @@
EDITOR = "nvim"; EDITOR = "nvim";
VISUAL = "nvim"; VISUAL = "nvim";
TERM = "ghostty"; TERM = "ghostty";
GTK_THEME = lib.mkDefault "Adwaita:dark";
CC = "${pkgs.gcc}/bin/gcc"; CC = "${pkgs.gcc}/bin/gcc";
PKG_CONFIG_PATH = lib.makeSearchPath "lib/pkgconfig" [ PKG_CONFIG_PATH = lib.makeSearchPath "lib/pkgconfig" [
pkgs.openssl.dev pkgs.openssl.dev
@ -27,7 +26,6 @@
"/bin" "/bin"
]; ];
# Enable direnv with nix integration
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: let
pkgs,
...
}: let
clear-sans = pkgs.stdenv.mkDerivation { clear-sans = pkgs.stdenv.mkDerivation {
name = "clear-sans"; name = "clear-sans";
src = pkgs.fetchurl { src = pkgs.fetchurl {

View file

@ -1,7 +1,4 @@
{ {inputs, ...}: {
inputs,
...
}: {
imports = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: let
pkgs,
...
}: let
wallpapers = [ wallpapers = [
"${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/backgrounds/nixos/nixos-wallpaper.png" "${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/backgrounds/nixos/nixos-wallpaper.png"
"${pkgs.nixos-artwork.wallpapers.gnome-dark}/share/backgrounds/gnome/gnome-dark.png" "${pkgs.nixos-artwork.wallpapers.gnome-dark}/share/backgrounds/gnome/gnome-dark.png"

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
networkmanager_dmenu networkmanager_dmenu
networkmanagerapplet networkmanagerapplet

View file

@ -1,6 +1,4 @@
{ {...}: {
...
}: {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
programs.nix-index.enable = true; programs.nix-index.enable = true;
programs.command-not-found.enable = false; programs.command-not-found.enable = false;

View file

@ -1,11 +1,9 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true; dedicatedServer.openFirewall = true;
# apparently enabling this makes big picture boot up, does not work on nvidia however
# gamescopeSession.enable = true; # gamescopeSession.enable = true;
extraCompatPackages = [ extraCompatPackages = [
pkgs.proton-ge-bin pkgs.proton-ge-bin

10
modules/tailscale.nix Normal file
View file

@ -0,0 +1,10 @@
{...}: {
services.tailscale = {
enable = true;
};
networking.firewall = {
allowedUDPPorts = [41641];
trustedInterfaces = ["tailscale0"];
};
}

View file

@ -1,6 +1,4 @@
{ {...}: {
...
}: {
time.timeZone = "America/Edmonton"; time.timeZone = "America/Edmonton";
i18n.defaultLocale = "en_CA.UTF-8"; i18n.defaultLocale = "en_CA.UTF-8";
} }