mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 06:39:09 -04:00
Compare commits
1 Commits
feature/se
...
feature/se
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f6c4bf620 |
22
.github/workflows/build_systems.yml
vendored
22
.github/workflows/build_systems.yml
vendored
@@ -1,22 +0,0 @@
|
|||||||
name: build_jeeves
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: build-${{ matrix.system }}
|
|
||||||
runs-on: self-hosted
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
system:
|
|
||||||
- "bob"
|
|
||||||
- "jeeves"
|
|
||||||
- "muninn"
|
|
||||||
- "rhapsody-in-green"
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Build default package
|
|
||||||
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
|
||||||
21
.github/workflows/update-flake-lock.yml
vendored
21
.github/workflows/update-flake-lock.yml
vendored
@@ -1,21 +0,0 @@
|
|||||||
name: update-flake-lock
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lockfile:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Install Nix
|
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
|
||||||
- name: Update flake.lock
|
|
||||||
uses: DeterminateSystems/update-flake-lock@main
|
|
||||||
with:
|
|
||||||
pr-title: "Update flake.lock"
|
|
||||||
pr-labels: |
|
|
||||||
dependencies
|
|
||||||
automated
|
|
||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -16,7 +16,6 @@
|
|||||||
"audiobookshelf",
|
"audiobookshelf",
|
||||||
"auditd",
|
"auditd",
|
||||||
"autofetch",
|
"autofetch",
|
||||||
"autologin",
|
|
||||||
"autopull",
|
"autopull",
|
||||||
"autotrim",
|
"autotrim",
|
||||||
"azuretools",
|
"azuretools",
|
||||||
@@ -82,7 +81,6 @@
|
|||||||
"globalprivacycontrol",
|
"globalprivacycontrol",
|
||||||
"gparted",
|
"gparted",
|
||||||
"gtts",
|
"gtts",
|
||||||
"hass",
|
|
||||||
"healthreport",
|
"healthreport",
|
||||||
"Heatsink",
|
"Heatsink",
|
||||||
"hediet",
|
"hediet",
|
||||||
@@ -237,7 +235,6 @@
|
|||||||
"urlclassifier",
|
"urlclassifier",
|
||||||
"usbhid",
|
"usbhid",
|
||||||
"usbutils",
|
"usbutils",
|
||||||
"useragent",
|
|
||||||
"usernamehw",
|
"usernamehw",
|
||||||
"userprefs",
|
"userprefs",
|
||||||
"vfat",
|
"vfat",
|
||||||
|
|||||||
6
build.sh
6
build.sh
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#bob
|
|
||||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#jeeves
|
|
||||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#muninn
|
|
||||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#rhapsody-in-green
|
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
outputs,
|
outputs,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
./docker.nix
|
||||||
./fail2ban.nix
|
./fail2ban.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./libs.nix
|
./libs.nix
|
||||||
@@ -19,11 +19,7 @@
|
|||||||
./snapshot_manager.nix
|
./snapshot_manager.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot.tmp.useTmpfs = true;
|
||||||
tmp.useTmpfs = true;
|
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_12;
|
|
||||||
zfs.package = lib.mkDefault pkgs.zfs;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,7 @@
|
|||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
enableDefaultPackages = true;
|
enableDefaultPackages = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nerd-fonts.roboto-mono
|
nerdfonts
|
||||||
nerd-fonts.intone-mono
|
|
||||||
nerd-fonts.symbols-only
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,21 +11,6 @@ in {
|
|||||||
"root"
|
"root"
|
||||||
"@wheel"
|
"@wheel"
|
||||||
];
|
];
|
||||||
trusted-substituters = [
|
|
||||||
"https://cache.nixos.org"
|
|
||||||
"https://cache.tmmworkshop.com"
|
|
||||||
"https://nix-community.cachix.org"
|
|
||||||
];
|
|
||||||
substituters = [
|
|
||||||
"https://cache.nixos.org/?priority=2&want-mass-query=true"
|
|
||||||
"https://cache.tmmworkshop.com/?priority=2&want-mass-query=true"
|
|
||||||
"https://nix-community.cachix.org/?priority=10&want-mass-query=true"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
||||||
"cache.tmmworkshop.com:jHffkpgbmEdstQPoihJPYW9TQe6jnQbWR2LqkNGV3iA="
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
||||||
];
|
|
||||||
auto-optimise-store = lib.mkDefault true;
|
auto-optimise-store = lib.mkDefault true;
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
python313
|
python312
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ monthly = 0
|
|||||||
|
|
||||||
["root_pool/home"]
|
["root_pool/home"]
|
||||||
15_min = 8
|
15_min = 8
|
||||||
hourly = 12
|
hourly = 24
|
||||||
daily = 1
|
daily = 14
|
||||||
monthly = 0
|
monthly = 0
|
||||||
|
|
||||||
["root_pool/root"]
|
["root_pool/root"]
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
{ pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_6_12;
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
|
||||||
zfs.package = pkgs.zfs;
|
zfs.package = pkgs.zfs_unstable;
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
displayManager.sddm = {
|
|
||||||
enable = true;
|
|
||||||
wayland.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb = {
|
xkb = {
|
||||||
@@ -20,13 +13,5 @@
|
|||||||
variant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
wireplumber.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,13 +10,8 @@
|
|||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
localNetworkGameTransfers.openFirewall = true;
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
protontricks.enable = true;
|
|
||||||
extraCompatPackages = with pkgs; [proton-ge-bin];
|
extraCompatPackages = with pkgs; [proton-ge-bin];
|
||||||
extest.enable = true;
|
extest.enable = true;
|
||||||
};
|
};
|
||||||
gamescope = {
|
|
||||||
enable = true;
|
|
||||||
capSysNice = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,24 +1,11 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
systemd = {
|
services.autopull = {
|
||||||
services."autopull@dotfiles" = {
|
enable = lib.mkDefault true;
|
||||||
requires = [ "multi-user.target" ];
|
repo.dotfiles = {
|
||||||
after = [ "multi-user.target" ];
|
enable = lib.mkDefault true;
|
||||||
description = "Pull the latest data for dotfiles";
|
ssh-key = lib.mkDefault "/root/.ssh/id_ed25519_ghdeploy";
|
||||||
serviceConfig = {
|
path = lib.mkDefault /root/dotfiles;
|
||||||
Type = "oneshot";
|
|
||||||
User = "root";
|
|
||||||
WorkingDirectory = /root/dotfiles;
|
|
||||||
ExecStart = "${pkgs.git}/bin/git pull --all --prune";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
timers."autopull@dotfiles" = {
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "1h";
|
|
||||||
OnUnitActiveSec = "1h";
|
|
||||||
Unit = "autopull@dotfiles.service";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,4 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
joinNetworks = [ "e4da7455b2ae64ca" ];
|
joinNetworks = [ "e4da7455b2ae64ca" ];
|
||||||
};
|
};
|
||||||
nix.settings = {
|
|
||||||
trusted-substituters = [ "http://192.168.90.40:5000" ];
|
|
||||||
substituters = [ "http://192.168.90.40:5000/?priority=1&want-mass-query=true" ];
|
|
||||||
trusted-public-keys = [ "cache.tmmworkshop.com:jHffkpgbmEdstQPoihJPYW9TQe6jnQbWR2LqkNGV3iA=" ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
86
flake.lock
generated
86
flake.lock
generated
@@ -9,11 +9,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1735099403,
|
"lastModified": 1731643390,
|
||||||
"narHash": "sha256-22NF70bxkMY7/IY2NG0pC7WzgJ0bI67FGSUP37d2mQ8=",
|
"narHash": "sha256-ckIrZY5i+b7UrxolO54pSRO9dKW7GnMYQ1uQLeWEBsU=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "5b2c380332cf5a3022fde931d0346e2b868b544e",
|
"rev": "f0fa120121e9ea5c16c7b2c578fbebe37fbcab55",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -59,11 +59,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -79,11 +79,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735053786,
|
"lastModified": 1731604581,
|
||||||
"narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=",
|
"narHash": "sha256-Qq2YZZaDTB3FZLWU/Hgh1uuWlUBl3cMLGB99bm7rFUM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84",
|
"rev": "1d0862ee2d7c6f6cd720d6f32213fa425004be10",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -101,11 +101,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729742964,
|
"lastModified": 1703863825,
|
||||||
"narHash": "sha256-B4mzTcQ0FZHdpeWcpDYPERtyjJd/NIuaQ9+BV1h+MpA=",
|
"narHash": "sha256-rXwqjtwiGKJheXB43ybM8NwWB8rO2dSRrEqes0S7F5Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-github-actions",
|
"repo": "nix-github-actions",
|
||||||
"rev": "e04df33f62cdcf93d73e9a04142464753a16db67",
|
"rev": "5163432afc817cf8bd1f031418d1869e4c9d5547",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -124,11 +124,11 @@
|
|||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735090583,
|
"lastModified": 1731712317,
|
||||||
"narHash": "sha256-Tm+BsKXJS/EdJd9DvLxDbw+chPI1o7A9RHKIFxho36I=",
|
"narHash": "sha256-NpkSAwLFTFRZx+C2yL0JCBnjnZQRs8PsWRqZ0S08Bc8=",
|
||||||
"owner": "lilyinstarlight",
|
"owner": "lilyinstarlight",
|
||||||
"repo": "nixos-cosmic",
|
"repo": "nixos-cosmic",
|
||||||
"rev": "847b93e3b63bcea9a477dd86bb4b56ce7e051f0e",
|
"rev": "0b0e62252fb3b4e6b0a763190413513be499c026",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -139,11 +139,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734954597,
|
"lastModified": 1731403644,
|
||||||
"narHash": "sha256-QIhd8/0x30gEv8XEE1iAnrdMlKuQ0EzthfDR7Hwl+fk=",
|
"narHash": "sha256-T9V7CTucjRZ4Qc6pUEV/kpgNGzQbHWfGcfK6JJLfUeI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "def1d472c832d77885f174089b0d34854b007198",
|
"rev": "f6581f1c3b137086e42a08a906bdada63045f991",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -155,11 +155,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734649271,
|
"lastModified": 1731319897,
|
||||||
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
|
"narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
|
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -171,11 +171,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735170897,
|
"lastModified": 1731716707,
|
||||||
"narHash": "sha256-O1OXa12dHaObowGsfiM8pgphWfSXJj5v8sTxFoPXR0A=",
|
"narHash": "sha256-ykrD4v5e/i2eweFAnamAXXkk/jzhNNwPiDc9yu4MbZs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "138326d6e9841ab9e6161730d40e09cedd670c40",
|
"rev": "3af4d5583961833ab0439b64626190951839c0bc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -187,27 +187,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734875076,
|
"lastModified": 1731386116,
|
||||||
"narHash": "sha256-Pzyb+YNG5u3zP79zoi8HXYMs15Q5dfjDgwCdUI5B0nY=",
|
"narHash": "sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1807c2b91223227ad5599d7067a61665c52d1295",
|
"rev": "689fed12a013f56d4c4d3f612489634267d86529",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-24.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734835170,
|
"lastModified": 1731386116,
|
||||||
"narHash": "sha256-JG6n9tQET7ZLjvwjH9BdYE6pES/Alcduxv2FDXliuBM=",
|
"narHash": "sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6df924734e1b626efd70925545de844b1c25246f",
|
"rev": "689fed12a013f56d4c4d3f612489634267d86529",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -232,11 +232,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731205797,
|
"lastModified": 1723343306,
|
||||||
"narHash": "sha256-F7N1mxH1VrkVNHR3JGNMRvp9+98KYO4b832KS8Gl2xI=",
|
"narHash": "sha256-/6sRkPq7/5weX2y0V8sQ29Sz35nt8kyj+BsFtkhgbJE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "poetry2nix",
|
"repo": "poetry2nix",
|
||||||
"rev": "f554d27c1544d9c56e5f1f8e2b8aff399803674e",
|
"rev": "4a1c112ff0c67f496573dc345bd0b2247818fc29",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -266,11 +266,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735007320,
|
"lastModified": 1731551344,
|
||||||
"narHash": "sha256-NdhUgB9BkLGW9I+Q1GyUUCc3CbDgsg7HLWjG7WZBR5Q=",
|
"narHash": "sha256-wr8OOqgw7M1pWfe4W7WA5lErzOVMg3zvrrxx/dy/nPo=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "fb5fdba697ee9a2391ca9ceea3b853b4e3ce37a5",
|
"rev": "27570abfd3461875f11fc07c9b01c141a6332b4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -288,11 +288,11 @@
|
|||||||
"poetry2nix": "poetry2nix"
|
"poetry2nix": "poetry2nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733083480,
|
"lastModified": 1729617389,
|
||||||
"narHash": "sha256-B13faNyBbA3MeI7Jp6pFVbp58rI2Rx5Uvd83csW2p48=",
|
"narHash": "sha256-Q05Nhw84FprGiuQHd1ahOhKKIbxzp1rpeCqddjXUSVM=",
|
||||||
"owner": "RichieCahill",
|
"owner": "RichieCahill",
|
||||||
"repo": "system_tools",
|
"repo": "system_tools",
|
||||||
"rev": "bc357d8fabd83c1423611829091e5b1d86dd913c",
|
"rev": "2a2aa711fcf67ed5e4db484e507a4a511b9b4230",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -354,11 +354,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730120726,
|
"lastModified": 1719749022,
|
||||||
"narHash": "sha256-LqHYIxMrl/1p3/kvm2ir925tZ8DkI0KA10djk8wecSk=",
|
"narHash": "sha256-ddPKHcqaKCIFSFc/cvxS14goUhCOAwsM1PbMr0ZtHMg=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "9ef337e492a5555d8e17a51c911ff1f02635be15",
|
"rev": "8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
"https://cache.nixos.org/?priority=2&want-mass-query=true"
|
"https://cache.nixos.org/?priority=1&want-mass-query=true"
|
||||||
"https://cache.tmmworkshop.com/?priority=2&want-mass-query=true"
|
"https://cache.tmmworkshop.com/?priority=1&want-mass-query=true"
|
||||||
"https://nix-community.cachix.org/?priority=10&want-mass-query=true"
|
"https://nix-community.cachix.org/?priority=10&want-mass-query=true"
|
||||||
];
|
];
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
|
|||||||
@@ -3,13 +3,12 @@
|
|||||||
../../users/richie
|
../../users/richie
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/optional/desktop.nix
|
../../common/optional/desktop.nix
|
||||||
../../common/optional/docker.nix
|
|
||||||
../../common/optional/scanner.nix
|
../../common/optional/scanner.nix
|
||||||
../../common/optional/steam.nix
|
../../common/optional/steam.nix
|
||||||
../../common/optional/syncthing_base.nix
|
../../common/optional/syncthing_base.nix
|
||||||
../../common/optional/systemd-boot.nix
|
../../common/optional/systemd-boot.nix
|
||||||
../../common/optional/yubikey.nix
|
|
||||||
../../common/optional/zerotier.nix
|
../../common/optional/zerotier.nix
|
||||||
|
../../common/optional/yubikey.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./nvidia.nix
|
./nvidia.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
@@ -34,10 +33,19 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
|
displayManager.sddm.enable = true;
|
||||||
|
|
||||||
openssh.ports = [ 262 ];
|
openssh.ports = [ 262 ];
|
||||||
|
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
|
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
snapshot_manager.enable = true;
|
snapshot_manager.enable = true;
|
||||||
|
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|||||||
@@ -5,9 +5,8 @@
|
|||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
open = true;
|
|
||||||
};
|
};
|
||||||
nvidia-container-toolkit.enable = true;
|
nvidia-container-toolkit.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
39
systems/jeeves/arch_mirror.nix
Normal file
39
systems/jeeves/arch_mirror.nix
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
let
|
||||||
|
vars = import ./vars.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
users = {
|
||||||
|
users.arch-mirror = {
|
||||||
|
isSystemUser = true;
|
||||||
|
group = "arch-mirror";
|
||||||
|
};
|
||||||
|
groups.arch-mirror = {};
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.arch_mirror = {
|
||||||
|
image = "ubuntu/apache2:latest";
|
||||||
|
volumes = [
|
||||||
|
"${../../common/docker_templates}/file_server/sites/:/etc/apache2/sites-enabled/"
|
||||||
|
"${vars.media_mirror}:/data"
|
||||||
|
];
|
||||||
|
ports = [ "800:80" ];
|
||||||
|
extraOptions = [ "--network=web" ];
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.sync_mirror = {
|
||||||
|
requires = [ "network-online.target" ];
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
description = "validates startup";
|
||||||
|
path = [ pkgs.rsync ];
|
||||||
|
serviceConfig = {
|
||||||
|
Environment = "MIRROR_DIR=${vars.media_mirror}/archlinux/";
|
||||||
|
Type = "simple";
|
||||||
|
User = "arch-mirror";
|
||||||
|
Group = "arch-mirror";
|
||||||
|
ExecStart = "${inputs.system_tools.packages.x86_64-linux.default}/bin/sync_mirror";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -5,19 +5,17 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
../../users/richie
|
../../users/richie
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/optional/docker.nix
|
|
||||||
../../common/optional/ssh_decrypt.nix
|
../../common/optional/ssh_decrypt.nix
|
||||||
../../common/optional/syncthing_base.nix
|
../../common/optional/syncthing_base.nix
|
||||||
../../common/optional/zerotier.nix
|
../../common/optional/zerotier.nix
|
||||||
|
./arch_mirror.nix
|
||||||
./docker
|
./docker
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./home_assistant.nix
|
./home_assistant.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./runner.nix
|
|
||||||
./services.nix
|
./services.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./transmission.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.zfs.extraPools = [
|
boot.zfs.extraPools = [
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ frontend ContentSwitching
|
|||||||
acl host_cache hdr(host) -i cache.tmmworkshop.com
|
acl host_cache hdr(host) -i cache.tmmworkshop.com
|
||||||
acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com
|
acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com
|
||||||
acl host_grafana hdr(host) -i grafana.tmmworkshop.com
|
acl host_grafana hdr(host) -i grafana.tmmworkshop.com
|
||||||
acl host_homeassistant hdr(host) -i homeassistant.tmmworkshop.com
|
acl host_mirror hdr(host) -i mirror.tmmworkshop.com
|
||||||
acl host_photoprism hdr(host) -i photoprism.tmmworkshop.com
|
acl host_photoprism hdr(host) -i photoprism.tmmworkshop.com
|
||||||
acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com
|
acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ frontend ContentSwitching
|
|||||||
use_backend cache_nodes if host_cache
|
use_backend cache_nodes if host_cache
|
||||||
use_backend filebrowser_nodes if host_filebrowser
|
use_backend filebrowser_nodes if host_filebrowser
|
||||||
use_backend grafana_nodes if host_grafana
|
use_backend grafana_nodes if host_grafana
|
||||||
use_backend homeassistant_nodes if host_homeassistant
|
use_backend mirror_nodes if host_mirror
|
||||||
use_backend photoprism_nodes if host_photoprism
|
use_backend photoprism_nodes if host_photoprism
|
||||||
use_backend uptime_kuma_nodes if host_uptime_kuma
|
use_backend uptime_kuma_nodes if host_uptime_kuma
|
||||||
|
|
||||||
@@ -57,9 +57,9 @@ backend filebrowser_nodes
|
|||||||
mode http
|
mode http
|
||||||
server server filebrowser:8080
|
server server filebrowser:8080
|
||||||
|
|
||||||
backend homeassistant_nodes
|
backend mirror_nodes
|
||||||
mode http
|
mode http
|
||||||
server server 192.168.95.14:8123
|
server server arch_mirror:80
|
||||||
|
|
||||||
backend photoprism_nodes
|
backend photoprism_nodes
|
||||||
mode http
|
mode http
|
||||||
|
|||||||
@@ -13,20 +13,20 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers = {
|
# virtualisation.oci-containers.containers = {
|
||||||
postgres = {
|
# postgres = {
|
||||||
image = "postgres:17";
|
# image = "postgres:16";
|
||||||
ports = [ "5432:5432" ];
|
# ports = [ "5432:5432" ];
|
||||||
volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ];
|
# volumes = [ "${vars.media_database}/postgres:/var/lib/postgresql/data" ];
|
||||||
environment = {
|
# environment = {
|
||||||
POSTGRES_USER = "admin";
|
# POSTGRES_USER = "admin";
|
||||||
POSTGRES_DB = "archive";
|
# POSTGRES_DB = "archive";
|
||||||
POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256";
|
# POSTGRES_INITDB_ARGS = "--auth-host=scram-sha-256";
|
||||||
};
|
# };
|
||||||
environmentFiles = [ "${vars.storage_secrets}/docker/postgres" ];
|
# environmentFiles = [/root/secrets/docker/postgres];
|
||||||
autoStart = true;
|
# autoStart = true;
|
||||||
user = "postgres:postgres";
|
# user = "postgres:postgres";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
17
systems/jeeves/docker/prowlarr.nix
Normal file
17
systems/jeeves/docker/prowlarr.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
let
|
||||||
|
vars = import ../vars.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 9696 ];
|
||||||
|
virtualisation.oci-containers.containers.prowlarr = {
|
||||||
|
image = "ghcr.io/linuxserver/prowlarr:latest";
|
||||||
|
ports = [ "9696:9696" ];
|
||||||
|
environment = {
|
||||||
|
PUID = "600";
|
||||||
|
PGID = "100";
|
||||||
|
TZ = "America/New_York";
|
||||||
|
};
|
||||||
|
volumes = [ "${vars.media_docker_configs}/prowlarr:/config" ];
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,10 +4,10 @@ in
|
|||||||
{
|
{
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 6881 8082 29432 ];
|
allowedTCPPorts = [ 6881 8082 29432 ];
|
||||||
allowedUDPPorts = [ 6881 29432 ];
|
allowedUDPPorts = [ 6881 ];
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.qbit = {
|
virtualisation.oci-containers.containers.qbit = {
|
||||||
image = "ghcr.io/linuxserver/qbittorrent:5.0.2";
|
image = "ghcr.io/linuxserver/qbittorrent:latest";
|
||||||
ports = [
|
ports = [
|
||||||
"6881:6881"
|
"6881:6881"
|
||||||
"6881:6881/udp"
|
"6881:6881/udp"
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ in
|
|||||||
allowedUDPPorts = [ 6882 ];
|
allowedUDPPorts = [ 6882 ];
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.qbitvpn = {
|
virtualisation.oci-containers.containers.qbitvpn = {
|
||||||
image = "binhex/arch-qbittorrentvpn:5.0.3-1-01";
|
image = "binhex/arch-qbittorrentvpn:latest";
|
||||||
devices = [ "/dev/net/tun:/dev/net/tun" ];
|
|
||||||
extraOptions = [ "--cap-add=NET_ADMIN" ];
|
extraOptions = [ "--cap-add=NET_ADMIN" ];
|
||||||
ports = [
|
ports = [
|
||||||
"6882:6881"
|
"6882:6881"
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ in
|
|||||||
"${./haproxy.cfg}:/usr/local/etc/haproxy/haproxy.cfg"
|
"${./haproxy.cfg}:/usr/local/etc/haproxy/haproxy.cfg"
|
||||||
];
|
];
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
|
"arch_mirror"
|
||||||
"audiobookshelf"
|
"audiobookshelf"
|
||||||
"filebrowser"
|
"filebrowser"
|
||||||
"grafana"
|
"grafana"
|
||||||
|
|||||||
21
systems/jeeves/docker/sonarr.nix
Normal file
21
systems/jeeves/docker/sonarr.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
let
|
||||||
|
vars = import ../vars.nix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 9696 8989 ];
|
||||||
|
virtualisation.oci-containers.containers.sonarr = {
|
||||||
|
image = "ghcr.io/linuxserver/sonarr:latest";
|
||||||
|
ports = [ "8989:8989" ];
|
||||||
|
environment = {
|
||||||
|
PUID = "600";
|
||||||
|
PGID = "100";
|
||||||
|
TZ = "America/New_York";
|
||||||
|
};
|
||||||
|
volumes = [
|
||||||
|
"${vars.media_docker_configs}/sonarr:/config"
|
||||||
|
"${vars.storage_plex}/tv:/tv"
|
||||||
|
"${vars.torrenting_qbitvpn}:/data"
|
||||||
|
];
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,11 +1,7 @@
|
|||||||
let
|
|
||||||
vars = import ./vars.nix;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
configDir = vars.media_home_assistant;
|
|
||||||
config = {
|
config = {
|
||||||
http = {
|
http = {
|
||||||
server_port = 8123;
|
server_port = 8123;
|
||||||
@@ -15,7 +11,7 @@ in
|
|||||||
"192.168.98.4"
|
"192.168.98.4"
|
||||||
];
|
];
|
||||||
use_x_forwarded_for = true;
|
use_x_forwarded_for = true;
|
||||||
trusted_proxies = "172.18.0.0/24";
|
trusted_proxies = "172.100.0.4";
|
||||||
};
|
};
|
||||||
homeassistant = {
|
homeassistant = {
|
||||||
time_zone = "America/New_York";
|
time_zone = "America/New_York";
|
||||||
@@ -38,10 +34,6 @@ in
|
|||||||
sun = { };
|
sun = { };
|
||||||
webhook = { };
|
webhook = { };
|
||||||
zeroconf = { };
|
zeroconf = { };
|
||||||
automation = "!include automations.yaml";
|
|
||||||
script = "!include scripts.yaml";
|
|
||||||
scene = "!include scenes.yaml";
|
|
||||||
group = "!include groups.yaml";
|
|
||||||
};
|
};
|
||||||
extraPackages =
|
extraPackages =
|
||||||
python3Packages: with python3Packages; [
|
python3Packages: with python3Packages; [
|
||||||
|
|||||||
@@ -23,8 +23,7 @@
|
|||||||
networks = {
|
networks = {
|
||||||
"10-1GB_Primary" = {
|
"10-1GB_Primary" = {
|
||||||
matchConfig.Name = "enp98s0f0";
|
matchConfig.Name = "enp98s0f0";
|
||||||
address = [ "192.168.95.14/24" ];
|
DHCP = "yes";
|
||||||
routes = [{ Gateway = "192.168.95.1"; }];
|
|
||||||
vlan = [ "ioit-vlan" ];
|
vlan = [ "ioit-vlan" ];
|
||||||
linkConfig.RequiredForOnline = "routable";
|
linkConfig.RequiredForOnline = "routable";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
vars = import ./vars.nix;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
users = {
|
|
||||||
users.github-runners = {
|
|
||||||
isSystemUser = true;
|
|
||||||
group = "github-runners";
|
|
||||||
uid = 601;
|
|
||||||
};
|
|
||||||
groups.github-runners = {
|
|
||||||
gid = 601;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.github-runners.nix_builder = {
|
|
||||||
enable = true;
|
|
||||||
replace = true;
|
|
||||||
workDir = "/zfs/media/github-runners/nix_builder/";
|
|
||||||
url = "https://github.com/RichieCahill/dotfiles";
|
|
||||||
extraLabels = [ "nixos" ];
|
|
||||||
tokenFile = "${vars.storage_secrets}/services/github_runners/nix_builder";
|
|
||||||
user = "github-runners";
|
|
||||||
group = "github-runners";
|
|
||||||
extraPackages = [ pkgs.nixos-rebuild ];
|
|
||||||
# extraEnvironment
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -18,13 +18,11 @@ sudo zpool add torrenting -o ashift=12 special
|
|||||||
# media datasets
|
# media datasets
|
||||||
sudo zfs create -o compression=zstd-9 media/docker
|
sudo zfs create -o compression=zstd-9 media/docker
|
||||||
sudo zfs create -o recordsize=1M -o compression=zstd-19 media/library
|
sudo zfs create -o recordsize=1M -o compression=zstd-19 media/library
|
||||||
sudo zfs create -o compression=zstd-9 -o sync=disabled media/github-runners
|
|
||||||
sudo zfs create -o exec=off media/minio
|
sudo zfs create -o exec=off media/minio
|
||||||
|
sudo zfs create -o exec=off media/mirror
|
||||||
sudo zfs create -o copies=3 media/notes
|
sudo zfs create -o copies=3 media/notes
|
||||||
sudo zfs create -o recordsize=16k -o primarycache=metadata -o mountpoint=/zfs/media/database/photoprism_mariadb media/photoprism_mariadb
|
sudo zfs create -o recordsize=16k -o primarycache=metadata -o mountpoint=/zfs/media/database/photoprism_mariadb media/photoprism_mariadb
|
||||||
sudo zfs create -o compression=zstd-9 media/plex
|
sudo zfs create -o compression=zstd-9 media/plex
|
||||||
sudo zfs create -o compression=zstd-9 media/services
|
|
||||||
sudo zfs create -o compression=zstd-19 media/home_assistant
|
|
||||||
sudo zfs create -o recordsize=16k -o primarycache=metadata -o mountpoint=/zfs/media/database/postgres media/postgres
|
sudo zfs create -o recordsize=16k -o primarycache=metadata -o mountpoint=/zfs/media/database/postgres media/postgres
|
||||||
|
|
||||||
# storage datasets
|
# storage datasets
|
||||||
@@ -38,4 +36,3 @@ sudo zfs create -o compression=zstd-19 storage/syncthing
|
|||||||
# torrenting datasets
|
# torrenting datasets
|
||||||
sudo zfs create -o recordsize=16K -o exec=off -o sync=disabled torrenting/qbit
|
sudo zfs create -o recordsize=16K -o exec=off -o sync=disabled torrenting/qbit
|
||||||
sudo zfs create -o recordsize=16K -o exec=off -o sync=disabled torrenting/qbitvpn
|
sudo zfs create -o recordsize=16K -o exec=off -o sync=disabled torrenting/qbitvpn
|
||||||
sudo zfs create -o recordsize=16K -o exec=off -o sync=disabled torrenting/transmission
|
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
vars = import ./vars.nix;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
transmission-rss
|
|
||||||
];
|
|
||||||
services.transmission = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.transmission_4;
|
|
||||||
home = "${vars.media_docker_configs}/transmission";
|
|
||||||
group = "users";
|
|
||||||
openRPCPort = true;
|
|
||||||
openPeerPorts = true;
|
|
||||||
openFirewall = true;
|
|
||||||
webHome = pkgs.flood-for-transmission;
|
|
||||||
settings = {
|
|
||||||
message-level = 2;
|
|
||||||
incomplete-dir-enabled = true;
|
|
||||||
incomplete-dir = "${vars.torrenting_transmission}/incomplete";
|
|
||||||
download-dir = "${vars.torrenting_transmission}/download";
|
|
||||||
download-queue-enabled = false;
|
|
||||||
peer-limit-global = 10000;
|
|
||||||
peer-limit-per-torrent = 100;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -9,12 +9,9 @@ in
|
|||||||
media_database = "${zfs_media}/database";
|
media_database = "${zfs_media}/database";
|
||||||
media_docker = "${zfs_media}/docker";
|
media_docker = "${zfs_media}/docker";
|
||||||
media_docker_configs = "${zfs_media}/docker/configs";
|
media_docker_configs = "${zfs_media}/docker/configs";
|
||||||
media_services = "${zfs_media}/services";
|
|
||||||
media_services_configs = "${zfs_media}/services/configs";
|
|
||||||
media_mirror = "${zfs_media}/mirror";
|
media_mirror = "${zfs_media}/mirror";
|
||||||
media_notes = "${zfs_media}/notes";
|
media_notes = "${zfs_media}/notes";
|
||||||
media_plex = "${zfs_media}/plex";
|
media_plex = "${zfs_media}/plex";
|
||||||
media_home_assistant = "${zfs_media}/home_assistant";
|
|
||||||
# storage
|
# storage
|
||||||
storage_main = "${zfs_storage}/main";
|
storage_main = "${zfs_storage}/main";
|
||||||
storage_photos = "${zfs_storage}/photos";
|
storage_photos = "${zfs_storage}/photos";
|
||||||
@@ -25,5 +22,4 @@ in
|
|||||||
# torrenting
|
# torrenting
|
||||||
torrenting_qbit = "${zfs_torrenting}/qbit";
|
torrenting_qbit = "${zfs_torrenting}/qbit";
|
||||||
torrenting_qbitvpn = "${zfs_torrenting}/qbitvpn";
|
torrenting_qbitvpn = "${zfs_torrenting}/qbitvpn";
|
||||||
torrenting_transmission = "${zfs_torrenting}/transmission";
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +1,11 @@
|
|||||||
{ inputs, pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../users/gaming
|
|
||||||
../../users/richie
|
../../users/richie
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/optional/desktop.nix
|
../../common/optional/desktop.nix
|
||||||
../../common/optional/steam.nix
|
../../common/optional/steam.nix
|
||||||
../../common/optional/systemd-boot.nix
|
../../common/optional/systemd-boot.nix
|
||||||
../../common/optional/update.nix
|
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
inputs.nixos-hardware.nixosModules.framework-11th-gen-intel
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
plex-media-player
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@@ -29,26 +21,25 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
powerOnBoot = true;
|
powerOnBoot = true;
|
||||||
};
|
};
|
||||||
firmware = [ pkgs.sof-firmware ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
displayManager = {
|
|
||||||
enable = true;
|
|
||||||
autoLogin = {
|
|
||||||
user = "gaming";
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
defaultSession = "steam";
|
|
||||||
# defaultSession = "plasma";
|
|
||||||
};
|
|
||||||
|
|
||||||
openssh.ports = [ 295 ];
|
displayManager.sddm.enable = true;
|
||||||
|
|
||||||
|
openssh.ports = [ 262 ];
|
||||||
|
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
|
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
snapshot_manager.enable = true;
|
snapshot_manager.enable = true;
|
||||||
|
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
../../users/richie
|
../../users/richie
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/optional/desktop.nix
|
../../common/optional/desktop.nix
|
||||||
../../common/optional/docker.nix
|
|
||||||
../../common/optional/steam.nix
|
|
||||||
../../common/optional/syncthing_base.nix
|
../../common/optional/syncthing_base.nix
|
||||||
../../common/optional/systemd-boot.nix
|
../../common/optional/systemd-boot.nix
|
||||||
../../common/optional/yubikey.nix
|
../../common/optional/yubikey.nix
|
||||||
@@ -34,10 +32,19 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
|
displayManager.sddm.enable = true;
|
||||||
|
|
||||||
openssh.ports = [ 922 ];
|
openssh.ports = [ 922 ];
|
||||||
|
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
|
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
snapshot_manager.enable = true;
|
snapshot_manager.enable = true;
|
||||||
|
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
users = {
|
|
||||||
users.gaming = {
|
|
||||||
isNormalUser = true;
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
group = "gaming";
|
|
||||||
extraGroups =
|
|
||||||
[
|
|
||||||
"audio"
|
|
||||||
"video"
|
|
||||||
"users"
|
|
||||||
];
|
|
||||||
uid = 1100;
|
|
||||||
};
|
|
||||||
|
|
||||||
groups.gaming.gid = 1100;
|
|
||||||
};
|
|
||||||
home-manager.users.gaming = import ./systems/${config.networking.hostName}.nix;
|
|
||||||
}
|
|
||||||
@@ -1,251 +0,0 @@
|
|||||||
{ inputs, ... }:
|
|
||||||
{
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
profiles.richie = {
|
|
||||||
extensions = with inputs.firefox-addons.packages.x86_64-linux; [
|
|
||||||
bitwarden
|
|
||||||
darkreader
|
|
||||||
dearrow
|
|
||||||
fastforwardteam
|
|
||||||
return-youtube-dislikes
|
|
||||||
sponsorblock
|
|
||||||
ublock-origin
|
|
||||||
];
|
|
||||||
search = {
|
|
||||||
force = true;
|
|
||||||
default = "Google";
|
|
||||||
order = [ "Google" ];
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
# Makes Firefox use the PlayStation 5 user agent
|
|
||||||
"general.useragent.override" = "Mozilla/5.0 (PlayStation; PlayStation 5/10.01) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15,gzip(gfe),gzip(gfe)";
|
|
||||||
|
|
||||||
# SECTION: FASTFOX
|
|
||||||
# GENERAL
|
|
||||||
"content.notify.interval" = 100000;
|
|
||||||
|
|
||||||
# GFX
|
|
||||||
"gfx.canvas.accelerated.cache-items" = 4096;
|
|
||||||
"gfx.canvas.accelerated.cache-size" = 512;
|
|
||||||
"gfx.content.skia-font-cache-size" = 20;
|
|
||||||
|
|
||||||
# DISK CACHE
|
|
||||||
"browser.cache.jsbc_compression_level" = 3;
|
|
||||||
|
|
||||||
# MEDIA CACHE
|
|
||||||
"media.memory_cache_max_size" = 65536;
|
|
||||||
"media.cache_readahead_limit" = 7200;
|
|
||||||
"media.cache_resume_threshold" = 3600;
|
|
||||||
|
|
||||||
# IMAGE CACHE
|
|
||||||
"image.mem.decode_bytes_at_a_time" = 32768;
|
|
||||||
|
|
||||||
# NETWORK
|
|
||||||
"network.buffer.cache.size" = 262144;
|
|
||||||
"network.buffer.cache.count" = 128;
|
|
||||||
"network.http.max-connections" = 1800;
|
|
||||||
"network.http.max-persistent-connections-per-server" = 10;
|
|
||||||
"network.http.max-urgent-start-excessive-connections-per-host" = 5;
|
|
||||||
"network.http.pacing.requests.enabled" = false;
|
|
||||||
"network.dnsCacheExpiration" = 3600;
|
|
||||||
"network.dns.max_high_priority_threads" = 8;
|
|
||||||
"network.ssl_tokens_cache_capacity" = 10240;
|
|
||||||
|
|
||||||
# SPECULATIVE LOADING
|
|
||||||
"network.dns.disablePrefetch" = true;
|
|
||||||
"network.prefetch-next" = false;
|
|
||||||
"network.predictor.enabled" = false;
|
|
||||||
|
|
||||||
# EXPERIMENTAL
|
|
||||||
"layout.css.grid-template-masonry-value.enabled" = true;
|
|
||||||
"dom.enable_web_task_scheduling" = true;
|
|
||||||
"layout.css.has-selector.enabled" = true;
|
|
||||||
"dom.security.sanitizer.enabled" = true;
|
|
||||||
|
|
||||||
# SECTION: SECUREFOX
|
|
||||||
# TRACKING PROTECTION
|
|
||||||
"browser.contentblocking.category" = "strict";
|
|
||||||
"urlclassifier.trackingSkipURLs" = "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com";
|
|
||||||
"urlclassifier.features.socialtracking.skipURLs" = "*.instagram.com, *.twitter.com, *.twimg.com";
|
|
||||||
"network.cookie.sameSite.noneRequiresSecure" = true;
|
|
||||||
"browser.download.start_downloads_in_tmp_dir" = true;
|
|
||||||
"browser.helperApps.deleteTempFileOnExit" = true;
|
|
||||||
"browser.uitour.enabled" = false;
|
|
||||||
"privacy.globalprivacycontrol.enabled" = true;
|
|
||||||
|
|
||||||
# OCSP & CERTS / HPKP
|
|
||||||
"security.OCSP.enabled" = 0;
|
|
||||||
"security.remote_settings.crlite_filters.enabled" = true;
|
|
||||||
"security.pki.crlite_mode" = 2;
|
|
||||||
|
|
||||||
# SSL / TLS
|
|
||||||
"security.ssl.treat_unsafe_negotiation_as_broken" = true;
|
|
||||||
"browser.xul.error_pages.expert_bad_cert" = true;
|
|
||||||
"security.tls.enable_0rtt_data" = false;
|
|
||||||
|
|
||||||
# DISK AVOIDANCE
|
|
||||||
"browser.privatebrowsing.forceMediaMemoryCache" = true;
|
|
||||||
"browser.sessionstore.interval" = 60000;
|
|
||||||
|
|
||||||
# SHUTDOWN & SANITIZING
|
|
||||||
"privacy.history.custom" = true;
|
|
||||||
|
|
||||||
# SEARCH / URL BAR
|
|
||||||
"browser.search.separatePrivateDefault.ui.enabled" = true;
|
|
||||||
"browser.urlbar.update2.engineAliasRefresh" = true;
|
|
||||||
# PREF: restore search engine suggestions
|
|
||||||
"browser.search.suggest.enabled" = true;
|
|
||||||
"browser.urlbar.suggest.quicksuggest.sponsored" = false;
|
|
||||||
"browser.urlbar.suggest.quicksuggest.nonsponsored" = false;
|
|
||||||
"browser.formfill.enable" = false;
|
|
||||||
"security.insecure_connection_text.enabled" = true;
|
|
||||||
"security.insecure_connection_text.pbmode.enabled" = true;
|
|
||||||
"network.IDN_show_punycode" = true;
|
|
||||||
|
|
||||||
# HTTPS-FIRST POLICY
|
|
||||||
"dom.security.https_first" = true;
|
|
||||||
"dom.security.https_first_schemeless" = true;
|
|
||||||
|
|
||||||
# PASSWORDS
|
|
||||||
"signon.formlessCapture.enabled" = false;
|
|
||||||
"signon.rememberSignons" = false;
|
|
||||||
"signon.privateBrowsingCapture.enabled" = false;
|
|
||||||
"network.auth.subresource-http-auth-allow" = 1;
|
|
||||||
"editor.truncate_user_pastes" = false;
|
|
||||||
|
|
||||||
# MIXED CONTENT + CROSS-SITE
|
|
||||||
"security.mixed_content.block_display_content" = true;
|
|
||||||
"security.mixed_content.upgrade_display_content" = true;
|
|
||||||
"security.mixed_content.upgrade_display_content.image" = true;
|
|
||||||
"pdfjs.enableScripting" = false;
|
|
||||||
"extensions.postDownloadThirdPartyPrompt" = false;
|
|
||||||
|
|
||||||
# HEADERS / REFERERS
|
|
||||||
"network.http.referer.XOriginTrimmingPolicy" = 2;
|
|
||||||
|
|
||||||
# CONTAINERS
|
|
||||||
"privacy.userContext.ui.enabled" = true;
|
|
||||||
|
|
||||||
# WEBRTC
|
|
||||||
"media.peerconnection.ice.proxy_only_if_behind_proxy" = true;
|
|
||||||
"media.peerconnection.ice.default_address_only" = true;
|
|
||||||
|
|
||||||
# SAFE BROWSING
|
|
||||||
"browser.safebrowsing.downloads.remote.enabled" = false;
|
|
||||||
|
|
||||||
# MOZILLA
|
|
||||||
# PREF: allow websites to ask you to receive site notifications
|
|
||||||
"permissions.default.desktop-notification" = 0; # allow websites to ask
|
|
||||||
# PREF: allow websites to ask you for your location
|
|
||||||
"permissions.default.geo" = 0;
|
|
||||||
"geo.provider.network.url" = "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
|
||||||
"permissions.manager.defaultsUrl" = "";
|
|
||||||
"webchannel.allowObject.urlWhitelist" = "";
|
|
||||||
|
|
||||||
# TELEMETRY
|
|
||||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
|
||||||
"toolkit.telemetry.unified" = false;
|
|
||||||
"toolkit.telemetry.enabled" = false;
|
|
||||||
"toolkit.telemetry.server" = "data:,";
|
|
||||||
"toolkit.telemetry.archive.enabled" = false;
|
|
||||||
"toolkit.telemetry.newProfilePing.enabled" = false;
|
|
||||||
"toolkit.telemetry.shutdownPingSender.enabled" = false;
|
|
||||||
"toolkit.telemetry.updatePing.enabled" = false;
|
|
||||||
"toolkit.telemetry.bhrPing.enabled" = false;
|
|
||||||
"toolkit.telemetry.firstShutdownPing.enabled" = false;
|
|
||||||
"toolkit.telemetry.coverage.opt-out" = true;
|
|
||||||
"toolkit.coverage.opt-out" = true;
|
|
||||||
"toolkit.coverage.endpoint.base" = "";
|
|
||||||
"browser.ping-centre.telemetry" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.telemetry" = false;
|
|
||||||
"browser.newtabpage.activity-stream.telemetry" = false;
|
|
||||||
|
|
||||||
# EXPERIMENTS
|
|
||||||
"app.shield.optoutstudies.enabled" = false;
|
|
||||||
"app.normandy.enabled" = false;
|
|
||||||
"app.normandy.api_url" = "";
|
|
||||||
|
|
||||||
# CRASH REPORTS
|
|
||||||
"breakpad.reportURL" = "";
|
|
||||||
"browser.tabs.crashReporting.sendReport" = false;
|
|
||||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
|
||||||
|
|
||||||
# DETECTION
|
|
||||||
"captivedetect.canonicalURL" = "";
|
|
||||||
"network.captive-portal-service.enabled" = false;
|
|
||||||
"network.connectivity-service.enabled" = false;
|
|
||||||
|
|
||||||
# SECTION: PESKYFOX
|
|
||||||
# MOZILLA UI
|
|
||||||
"browser.privatebrowsing.vpnpromourl" = "";
|
|
||||||
"extensions.getAddons.showPane" = false;
|
|
||||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
|
||||||
"browser.discovery.enabled" = false;
|
|
||||||
"browser.shell.checkDefaultBrowser" = false;
|
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
|
||||||
"browser.preferences.moreFromMozilla" = false;
|
|
||||||
"browser.tabs.tabmanager.enabled" = false;
|
|
||||||
"browser.aboutConfig.showWarning" = false;
|
|
||||||
"browser.aboutwelcome.enabled" = false;
|
|
||||||
|
|
||||||
# THEME ADJUSTMENTS
|
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
||||||
"browser.compactmode.show" = true;
|
|
||||||
"browser.display.focus_ring_on_anything" = true;
|
|
||||||
"browser.display.focus_ring_style" = 0;
|
|
||||||
"browser.display.focus_ring_width" = 0;
|
|
||||||
"layout.css.prefers-color-scheme.content-override" = 2;
|
|
||||||
|
|
||||||
# COOKIE BANNER HANDLING
|
|
||||||
"cookiebanners.service.mode" = 1;
|
|
||||||
"cookiebanners.service.mode.privateBrowsing" = 1;
|
|
||||||
|
|
||||||
# FULLSCREEN NOTICE
|
|
||||||
"full-screen-api.transition-duration.enter" = "0 0";
|
|
||||||
"full-screen-api.transition-duration.leave" = "0 0";
|
|
||||||
"full-screen-api.warning.delay" = -1;
|
|
||||||
"full-screen-api.warning.timeout" = 0;
|
|
||||||
|
|
||||||
# URL BAR
|
|
||||||
"browser.urlbar.suggest.calculator" = true;
|
|
||||||
"browser.urlbar.unitConversion.enabled" = true;
|
|
||||||
"browser.urlbar.trending.featureGate" = false;
|
|
||||||
|
|
||||||
# NEW TAB PAGE
|
|
||||||
"browser.newtabpage.activity-stream.feeds.topsites" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
|
||||||
|
|
||||||
# POCKET
|
|
||||||
"extensions.pocket.enabled" = false;
|
|
||||||
|
|
||||||
# DOWNLOADS
|
|
||||||
"browser.download.always_ask_before_handling_new_types" = true;
|
|
||||||
"browser.download.manager.addToRecentDocs" = false;
|
|
||||||
|
|
||||||
# PDF
|
|
||||||
"browser.download.open_pdf_attachments_inline" = true;
|
|
||||||
|
|
||||||
# TAB BEHAVIOR
|
|
||||||
"browser.bookmarks.openInTabClosesMenu" = false;
|
|
||||||
"browser.menu.showViewImageInfo" = true;
|
|
||||||
"findbar.highlightAll" = true;
|
|
||||||
"layout.word_select.eat_space_to_next_word" = false;
|
|
||||||
|
|
||||||
# SECTION: MY OVERRIDES
|
|
||||||
"browser.startup.homepage" = "https://google.com";
|
|
||||||
"identity.fxaccounts.enabled" = false;
|
|
||||||
|
|
||||||
# SECTION SMOOTHFOX
|
|
||||||
# OPTION: SHARPEN SCROLLING *
|
|
||||||
"apz.overscroll.enabled" = true; # DEFAULT NON-LINUX
|
|
||||||
"mousewheel.min_line_scroll_amount" = 10; # 10-40; adjust this number to your liking; default=5
|
|
||||||
"general.smoothScroll.mouseWheel.durationMinMS" = 80; # default=50
|
|
||||||
"general.smoothScroll.currentVelocityWeighting" = "0.15"; # default=.25
|
|
||||||
"general.smoothScroll.stopDecelerationWeighting" = "0.6"; # default=.4
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{ config, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./programs.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
home-manager.enable = true;
|
|
||||||
git.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home = {
|
|
||||||
username = "gaming";
|
|
||||||
homeDirectory = "/home/${config.home.username}";
|
|
||||||
stateVersion = "24.05";
|
|
||||||
sessionVariables = {
|
|
||||||
FLAKE = "$HOME/Projects/dotfiles";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
wget
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../home/global.nix
|
|
||||||
../home/firefox.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -23,7 +23,6 @@ in {
|
|||||||
++ ifTheyExist [
|
++ ifTheyExist [
|
||||||
"dialout"
|
"dialout"
|
||||||
"docker"
|
"docker"
|
||||||
"hass"
|
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"plugdev"
|
"plugdev"
|
||||||
|
|||||||
@@ -1,20 +1,35 @@
|
|||||||
{ config, ... }:
|
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./cli
|
./cli
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./ssh_config.nix
|
./ssh_config.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
package = lib.mkDefault pkgs.nix;
|
||||||
|
settings = {
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
"ca-derivations"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "richie";
|
username = lib.mkDefault "richie";
|
||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||||
stateVersion = "24.05";
|
stateVersion = lib.mkDefault "24.05";
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
FLAKE = "$HOME/Projects/dotfiles";
|
FLAKE = "$HOME/Projects/dotfiles";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./firefox
|
./firefox
|
||||||
./vscode
|
./vscode
|
||||||
./kitty.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
icon = ./github.svg;
|
icon = ./github.svg;
|
||||||
definedAliases = [ "@g" ];
|
definedAliases = [ "@n" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
font.name = "IntoneMono Nerd Font";
|
|
||||||
settings = {
|
|
||||||
allow_remote_control = "no";
|
|
||||||
shell = "${pkgs.zsh}/bin/zsh";
|
|
||||||
wayland_titlebar_color = "background";
|
|
||||||
};
|
|
||||||
themeFile = "VSCode_Dark";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
jq
|
jq
|
||||||
ncdu
|
ncdu
|
||||||
neofetch
|
neofetch
|
||||||
ouch
|
|
||||||
p7zip
|
p7zip
|
||||||
poppler
|
poppler
|
||||||
rar
|
rar
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
wget
|
wget
|
||||||
# python
|
# python
|
||||||
poetry
|
poetry
|
||||||
python313
|
python312
|
||||||
ruff
|
ruff
|
||||||
# Rust packages
|
# Rust packages
|
||||||
trunk
|
trunk
|
||||||
|
|||||||
@@ -36,12 +36,6 @@
|
|||||||
identityFile = "~/.ssh/id_ed25519";
|
identityFile = "~/.ssh/id_ed25519";
|
||||||
port = 922;
|
port = 922;
|
||||||
};
|
};
|
||||||
muninn = {
|
|
||||||
hostname = "192.168.98.52";
|
|
||||||
user = "richie";
|
|
||||||
identityFile = "~/.ssh/id_ed25519";
|
|
||||||
port = 295;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user