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
tree-sitter
luajitPackages.jsregexp
tailscale
];
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: let
{pkgs, ...}: let
wallpapers = [
"${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"

View file

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

View file

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

View file

@ -1,11 +1,9 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
# apparently enabling this makes big picture boot up, does not work on nvidia however
# gamescopeSession.enable = true;
extraCompatPackages = [
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";
i18n.defaultLocale = "en_CA.UTF-8";
}