Compare commits

..

30 Commits

Author SHA1 Message Date
Weckyy702 dbc68e540f nixvim: Enable fugitive and emmet_ls
I was missing out on fugitive :^)
2026-05-06 23:14:46 +02:00
Weckyy702 c1eff7e53b Tailscale: Enable client routing features to enable exit nodes 2026-05-06 23:14:02 +02:00
Weckyy702 1f0dd9f149 Devtools/udev: Add udev rules for Lauterbach debuggers 2026-05-06 23:13:30 +02:00
Weckyy702 170a8abba2 Devtools: Reorganize submodules to be more ... modular 2026-05-06 23:12:58 +02:00
Weckyy702 c6f03484a6 tux/weckyy702: Add orly book covers to randomized background list 2026-04-18 03:32:09 +02:00
Weckyy702 3c3e253d35 Update flake inputs 2026-04-18 03:00:17 +02:00
Weckyy702 25e647190b devtools: Move rust feature to devtools 2026-04-10 14:53:19 +02:00
Weckyy702 c942a482c2 Zen: Enable recently used tab switch order 2026-04-10 14:48:17 +02:00
Weckyy702 a802c85678 Docker+Tux: Add docker support 2026-04-10 14:47:38 +02:00
Weckyy702 fc58b0ad29 HomeVPN: Add feature to automatically enable tailscale and set custom DNS nameserver 2026-04-03 11:34:29 +02:00
Weckyy702 5d4e3982ee Browser: Refine default zen config 2026-04-03 02:08:36 +02:00
Weckyy702 cbedc31575 Tux: Update configuration for tux's new setup 2026-04-03 01:10:08 +02:00
Weckyy702 f6585da4b7 borgmatic: Rework borgmatic config to be a little less silly
Instead of globally excluding by pattern, exclude directories that
contain a .borgignore file

This makes the borg config more scalable across different setups
2026-04-02 13:48:08 +02:00
Weckyy702 64336e8f9f Devtools: Add platformio udev rules 2026-04-02 13:48:08 +02:00
Weckyy702 efbb990fab Nixvim: Enable formatters using conform.nvim 2026-04-02 13:48:08 +02:00
Weckyy702 0f105b5324 Tux: Remount NAS outside $HOME 2026-04-02 13:48:08 +02:00
Weckyy702 eb0c48b1e7 programs: Add prusa-slicer 2026-03-19 21:44:00 +01:00
Weckyy702 e22144dcc0 brightnessKey: Set step size to 5 2026-03-19 21:42:32 +01:00
Weckyy702 09e90babd9 steam: disable firewall holes 2026-03-19 21:42:13 +01:00
Weckyy702 1d14750a1f programs/development-tools: Add nix-ld and man pages 2026-03-19 21:41:52 +01:00
Weckyy702 300a594250 drivers: Add opentablet 2026-03-19 21:41:20 +01:00
Weckyy702 dcda6ea9b8 services: Add flameshot 2026-03-19 21:36:25 +01:00
Weckyy702 c3981e6316 programs: Add libreoffice 2026-03-19 21:35:52 +01:00
Weckyy702 cb37b19941 hosts/tux: Add blueman and blueman-applet 2026-03-19 21:34:28 +01:00
Weckyy702 e54fc963f6 system-settings: Add bluetooth support 2026-03-18 00:09:24 +01:00
Weckyy702 94cad97ba9 home/catppuccin+nixos/nerdfonts: enable gtk-related stuff 2026-03-17 00:33:00 +01:00
Weckyy702 59b1f8b632 home/catppuccin: Move catppuccin-cursors code to its friends 2026-03-17 00:32:19 +01:00
Weckyy702 de7db470ae hosts/keith: Correct resource path for local smb share 2026-03-17 00:31:29 +01:00
Weckyy702 336c395b56 hosts/tux: Move AGHPB-related flake import to where it belongs 2026-03-17 00:30:33 +01:00
Weckyy702 dbed42316a hosts/keith+home/hyprpaper: Remove home/hyprpaper
wpaperd is just cooler :(
2026-03-17 00:29:40 +01:00
41 changed files with 391 additions and 139 deletions
Generated
+47 -30
View File
@@ -98,11 +98,11 @@
}, },
"flake-file": { "flake-file": {
"locked": { "locked": {
"lastModified": 1773224147, "lastModified": 1775848911,
"narHash": "sha256-w9RQyKZSTfqoZPRzIf7H4qVHy2N6uFk1MUU+c1K4c40=", "narHash": "sha256-dqva/tlWxsXj32wYPdt06UrrR4l2QdK9JWyvPooWRi4=",
"owner": "vic", "owner": "vic",
"repo": "flake-file", "repo": "flake-file",
"rev": "97bd69ff570dddccd704077830446ec1ca3a6988", "rev": "b36cbd5fc01e9794a001ccb0c58b314efaabae08",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -116,11 +116,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1772408722, "lastModified": 1775087534,
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -175,11 +175,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773264488, "lastModified": 1775425411,
"narHash": "sha256-rK0507bDuWBrZo+0zts9bCs/+RRUEHuvFE5DHWPxX/Q=", "narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5c0f63f8d55040a7eed69df7e3fcdd15dfb5a04c", "rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -191,11 +191,11 @@
}, },
"import-tree": { "import-tree": {
"locked": { "locked": {
"lastModified": 1772999353, "lastModified": 1773693634,
"narHash": "sha256-dPb0WxUhFaz6wuR3B6ysqFJpsu8txKDPZvS47AT2XLI=", "narHash": "sha256-BtZ2dtkBdSUnFPPFc+n0kcMbgaTxzFNPv2iaO326Ffg=",
"owner": "vic", "owner": "vic",
"repo": "import-tree", "repo": "import-tree",
"rev": "545a4df146fce44d155573e47f5a777985acf912", "rev": "c41e7d58045f9057880b0d85e1152d6a4430dbf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -234,11 +234,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1773375660, "lastModified": 1775811116,
"narHash": "sha256-SEzUWw2Rf5Ki3bcM26nSKgbeoqi2uYy8IHVBqOKjX3w=", "narHash": "sha256-t+HZK42pB6N+i5RGbuy7Xluez/VvWbembBdvzsc23Ss=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e20095fe3c6cbb1ddcef89b26969a69a1570776", "rev": "54170c54449ea4d6725efd30d719c5e505f1c10e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -250,11 +250,11 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1772328832, "lastModified": 1774748309,
"narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=", "narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742", "rev": "333c4e0545a6da976206c74db8773a1645b5870a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -265,11 +265,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1773282481, "lastModified": 1775710090,
"narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=", "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fe416aaedd397cacb33a610b33d60ff2b431b127", "rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -326,6 +326,22 @@
"type": "github" "type": "github"
} }
}, },
"orly-covers": {
"flake": false,
"locked": {
"lastModified": 1482210547,
"narHash": "sha256-3uU/RbOCZQS8kFu74zHpsHilQoaz9Jhv3vluI9axVPk=",
"owner": "thepracticaldev",
"repo": "orly-full-res",
"rev": "15c2b8dc906a7027391c11f559249c57e1a0a056",
"type": "github"
},
"original": {
"owner": "thepracticaldev",
"repo": "orly-full-res",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@@ -339,6 +355,7 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim", "nixvim": "nixvim",
"orly-covers": "orly-covers",
"rust-overlay": "rust-overlay", "rust-overlay": "rust-overlay",
"secrets": "secrets", "secrets": "secrets",
"spicetify-nix": "spicetify-nix", "spicetify-nix": "spicetify-nix",
@@ -352,11 +369,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773457417, "lastModified": 1776050130,
"narHash": "sha256-waABTSxPdbxml4BhcabHhyQF02Qnj27qRU4ard0mTQo=", "narHash": "sha256-/f/6/1WOfBJaGMfqV3VxWD9lpFRbPpF+Cx4MO+0mGok=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "055977c30249484010750e03074c744dcdaa0d23", "rev": "3c27f4c92a7d977556dd2c10bb564d9c61b375e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -385,11 +402,11 @@
"systems": "systems_4" "systems": "systems_4"
}, },
"locked": { "locked": {
"lastModified": 1773161309, "lastModified": 1775421933,
"narHash": "sha256-k2Un0blYBeoN8mB5HO4rqCKISb427IWy0fzCdCUIcio=", "narHash": "sha256-JkEbzFDFTsUlVtHEzA8Y4r3O9LInhb96eOCbtGjGnbM=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "61df7293cf732c7b66cce7f8b46f7017e721a6cd", "rev": "ec8d73085fdf807d55765335dc8126e14e7b2096",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -465,11 +482,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773290160, "lastModified": 1775710180,
"narHash": "sha256-u09eF4Oafi+OIbTtKe/EWil26q1glcTATiSA7dF1oCI=", "narHash": "sha256-sCokvdNvl8zIzsnjgG0TN5h3RUI7GJyWW9ErfmEj0rM=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "c7cb51b30960757ed9fb8eb28567b32585d0a688", "rev": "2c138beb648d1cbbfae76695a8230ee04e4db25a",
"type": "github" "type": "github"
}, },
"original": { "original": {
+4
View File
@@ -36,6 +36,10 @@
url = "github:nix-community/nixvim/nixos-25.11"; url = "github:nix-community/nixvim/nixos-25.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
orly-covers = {
url = "github:thepracticaldev/orly-full-res";
flake = false;
};
rust-overlay = { rust-overlay = {
url = "github:oxalica/rust-overlay"; url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
-22
View File
@@ -1,22 +0,0 @@
{
config.flake.factory.hyprpaper = mappings: { config
, osConfig
, lib
, ...
}: {
services.hyprpaper = assert osConfig.programs.hyprland.enable; {
enable = true;
settings = {
preload = map ({ path, ... }: path) mappings;
wallpaper =
map
({ monitor
, path
, prefix ? ""
,
}: "${monitor},${prefix}${path}")
mappings;
};
};
};
}
@@ -5,7 +5,7 @@
imports = with inputs.self.factory; [ imports = with inputs.self.factory; [
(mount-cifs { (mount-cifs {
host = "duke.veltnet"; host = "duke.veltnet";
resource = "home"; resource = "smb-share";
destination = "/home/weckyy702/duke"; destination = "/home/weckyy702/duke";
credentials_path = "${config.age.secrets.nas-creds.path}"; credentials_path = "${config.age.secrets.nas-creds.path}";
UID = "weckyy702"; UID = "weckyy702";
@@ -3,22 +3,24 @@
imports = with inputs.self.modules.nixos; [ imports = with inputs.self.modules.nixos; [
weckyy702 weckyy702
steam steam
mullvad
]; ];
home-manager.users.weckyy702 = { config, ... }: { home-manager.users.weckyy702 = { config, ... }: {
imports = with inputs.self.modules.homeManager; imports = with inputs.self.modules.homeManager;
with inputs.self.factory; [ with inputs.self.factory; [
(hyprpaper { (wpaperd {
wallpaper_path = "${inputs.assets}/horizontal_16x9.png"; default = {
monitor_names = [ path = "${inputs.assets}/horizontal_16x9.png";
"DP-1" };
"HDMI-A-1"
];
}) })
vesktop vesktop
spicetify spicetify
borgmatic borgmatic
qbittorrent qbittorrent
prusa-slicer
]; ];
}; };
}; };
+15
View File
@@ -0,0 +1,15 @@
{ inputs, ... }: {
flake.modules.nixos.tux = {
imports = with inputs.self.modules.nixos;
with inputs.self.factory; [
development-tools
rust-dev
udev
udev-pio
udev-lauterbach
docker
];
};
}
+3 -3
View File
@@ -1,18 +1,18 @@
{ {
flake.modules.nixos.tux = { flake.modules.nixos.tux = {
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/39bb2139-7d71-4f3d-9c11-2cf3fe26ad7d"; { device = "/dev/mapper/luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/6514-61C0"; { device = "/dev/disk/by-uuid/15FA-55CF";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/ac1606de-34d3-4036-baf6-2ed17e54bfc3"; } [ { device = "/dev/mapper/luks-46e78828-ab23-48b8-8e2a-de7a21adbe24"; }
]; ];
+2 -1
View File
@@ -5,11 +5,12 @@
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.luks.devices."luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a".device = "/dev/disk/by-uuid/9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
boot.initrd.luks.devices."luks-46e78828-ab23-48b8-8e2a-de7a21adbe24".device = "/dev/disk/by-uuid/46e78828-ab23-48b8-8e2a-de7a21adbe24";
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
}; };
} }
+4 -3
View File
@@ -4,12 +4,13 @@
with inputs.self.factory; [ with inputs.self.factory; [
system-desktop system-desktop
systemd-boot systemd-boot
bluetooth
i18n-de
(autologin "weckyy702") (autologin "weckyy702")
development-tools home-vpn
i18n-de opentablet
tailscale
#TODO: laptop specific aspects like powertop #TODO: laptop specific aspects like powertop
]; ];
@@ -0,0 +1,5 @@
{ inputs, ... }: {
flake.modules.homeManager.blueman-applet = {
services.blueman-applet.enable = true;
};
}
@@ -0,0 +1,5 @@
{
flake.modules.nixos.tux = {
users.users.weckyy702.extraGroups = [ "docker" ];
};
}
@@ -1,11 +1,4 @@
{ inputs, ... }: { { inputs, ... }: {
flake-file.inputs = {
aghpb = {
url = "github:cat-milk/Anime-Girls-Holding-Programming-Books";
flake = false;
};
};
flake.modules.homeManager.tux-hyprland = { flake.modules.homeManager.tux-hyprland = {
imports = with inputs.self.modules.homeManager; [ imports = with inputs.self.modules.homeManager; [
ashell ashell
@@ -6,7 +6,7 @@
(mount-cifs { (mount-cifs {
host = "duke.veltnet"; host = "duke.veltnet";
resource = "smb-share"; resource = "smb-share";
destination = "/home/weckyy702/duke"; destination = "/mnt/nas";
credentials_path = "${config.age.secrets.nas-creds.path}"; credentials_path = "${config.age.secrets.nas-creds.path}";
UID = "weckyy702"; UID = "weckyy702";
GID = "users"; GID = "users";
@@ -1,14 +1,39 @@
{ inputs, ... }: { { inputs, ... }: {
flake.modules.homeManager.randomized-aghpb-wallpaper = { flake-file.inputs = {
aghpb = {
url = "github:cat-milk/Anime-Girls-Holding-Programming-Books";
flake = false;
};
orly-covers = {
url = "github:thepracticaldev/orly-full-res";
flake = false;
};
};
flake.modules.homeManager.randomized-aghpb-wallpaper = { pkgs, ... }:
let
combined_wallpapers = pkgs.symlinkJoin {
name = "joined-wallpapers";
paths = with inputs; [
aghpb
orly-covers
];
};
in
{
imports = with inputs.self.factory; [ imports = with inputs.self.factory; [
(wpaperd { (wpaperd {
default = { default = {
path = inputs.aghpb; path = combined_wallpapers;
recursive = true; recursive = true;
mode = "stretch"; mode = "stretch";
duration = "5m"; duration = "5m";
}; };
}) })
]; ];
wayland.windowManager.hyprland.settings.bind = [
"$mod, i, exec, wpaperctl next"
];
}; };
} }
@@ -3,6 +3,7 @@
imports = with inputs.self.modules.nixos; [ imports = with inputs.self.modules.nixos; [
weckyy702 weckyy702
upower upower
libreoffice
]; ];
home-manager.users.weckyy702 = { home-manager.users.weckyy702 = {
@@ -14,6 +15,7 @@
tux-hyprland tux-hyprland
randomized-aghpb-wallpaper randomized-aghpb-wallpaper
nm-applet nm-applet
blueman-applet
]; ];
}; };
}; };
+77 -2
View File
@@ -6,9 +6,84 @@
}; };
}; };
flake.modules.homeManager.browser = { pkgs, ... }: { flake.modules.homeManager.browser =
{ pkgs
, lib
, ...
}:
let
mkExtension = shortId: guid: {
name = guid;
value = {
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
installation_mode = "normal_installed";
};
};
zen-pkg =
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.zen-browser-unwrapped;
prefs = {
"zen.tabs.vertical.right-side" = true;
"zen.workspaces.force-container-workspace" = true;
"zen.view.compact.enable-at-startup" = true;
"zen.pinned-tab-manager.restore-pinned-tabs-to-pinned-url" = true;
"zen.welcome-screen.seen" = true;
"sidebar.visibility" = "hide-sidebar";
"browser.ctrlTab.sortByRecentlyUsed" = true;
"privacy.fingerprintingProtection" = true;
"privacy.globalprivacycontrol.was_ever_enabled" = true;
"privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3" = true;
"privacy.trackingprotection.allow_list.convenience.enabled" = false;
"privacy.trackingprotection.allow_list.hasMigratedCategoryPrefs" = true;
"privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
};
extensions = [
# To add additional extensions, find it on addons.mozilla.org, find
# the short ID in the url (like https://addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/)
# Then go to https://addons.mozilla.org/api/v5/addons/addon/!SHORT_ID!/ to get the guid
(mkExtension "ublock-origin" "uBlock0@raymondhill.net")
(mkExtension "darkreader" "addon@darkreader.org")
(mkExtension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
# ...
];
in
{
home.packages = [ home.packages = [
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default (
pkgs.wrapFirefox zen-pkg
{
extraPrefs = lib.concatLines (
lib.mapAttrsToList
(
name: value: ''lockPref(${lib.strings.toJSON name}, ${lib.strings.toJSON value});''
)
prefs
);
extraPolicies = {
DisableTelemetry = true;
ExtensionSettings = builtins.listToAttrs extensions;
SearchEngines = {
Default = "ddg";
Add = [
{
Name = "nixpkgs packages";
URLTemplate = "https://search.nixos.org/packages?query={searchTerms}";
IconURL = "https://wiki.nixos.org/favicon.ico";
Alias = "@np";
}
];
};
};
}
)
]; ];
}; };
} }
+9
View File
@@ -38,11 +38,20 @@
hyprcursor.size = size; hyprcursor.size = size;
}; };
wayland.windowManager.hyprland.settings.exec-once = [
"hyprctl setcursor catppuccin-mocha-mauve-cursors 24"
];
catppuccin.enable = true; catppuccin.enable = true;
# Required for QT apps to use the catppuccin colors # Required for QT apps to use the catppuccin colors
qt = { qt = {
enable = true; enable = true;
style.name = "kvantum"; style.name = "kvantum";
}; };
gtk = {
enable = true;
colorScheme = "dark";
};
}; };
} }
@@ -1,15 +1,15 @@
{ inputs, ... }: { { inputs, ... }: {
flake.modules.nixos.development-tools = { pkgs, ... }: { flake.modules.nixos.development-tools = { pkgs, ... }: {
imports = with inputs.self.modules.nixos; [
rust
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cmake cmake
gnumake gnumake
clang clang
gcc gcc
man-pages
man-pages-posix
]; ];
documentation.dev.enable = true;
programs.direnv = { programs.direnv = {
enable = true; enable = true;
@@ -17,5 +17,7 @@
silent = true; silent = true;
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
programs.nix-ld.enable = true;
}; };
} }
+1 -1
View File
@@ -6,7 +6,7 @@
}; };
}; };
flake.modules.nixos.rust = { pkgs, ... }: { flake.modules.nixos.rust-dev = { pkgs, ... }: {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.rust-overlay.overlays.default inputs.rust-overlay.overlays.default
]; ];
@@ -0,0 +1,14 @@
{
flake.modules.nixos.udev-lauterbach = {
services.udev.extraRules = ''
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0897", SYMLINK+="lauterbach/trace32/%k", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a6e", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a6f", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a70", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a71", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a73", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a75", MODE:="0666"
ACTION!="remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",ATTR{idVendor}=="8087", ATTR{idProduct}=="0a78", MODE:="0666"
'';
};
}
@@ -0,0 +1,5 @@
{
flake.modules.nixos.udev-pio = { pkgs, ... }: {
services.udev.packages = with pkgs; [ platformio-core.udev ];
};
}
@@ -0,0 +1,5 @@
{
flake.modules.nixos.udev = {
services.udev.enable = true;
};
}
+8
View File
@@ -0,0 +1,8 @@
{
flake.modules.nixos.docker = {
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
};
};
}
-4
View File
@@ -21,10 +21,6 @@
follow_mouse = 1; follow_mouse = 1;
}; };
exec-once = [
"hyprctl setcursor catppuccin-mocha-mauve-cursors 24"
];
bind = bind =
[ [
"$mod, Q, exit" "$mod, Q, exit"
+7
View File
@@ -0,0 +1,7 @@
{
flake.modules.nixos.libreoffice = { pkgs, ... }: {
environment.systemPackages = with pkgs; [
libreoffice
];
};
}
@@ -1,6 +1,7 @@
{ ... }: { { ... }: {
imports = [ imports = [
./lsp.nix ./lsp.nix
./formatter.nix
./telescope ./telescope
./cmp ./cmp
]; ];
@@ -20,5 +21,7 @@
which-key.enable = true; which-key.enable = true;
glow.enable = true; glow.enable = true;
fugitive.enable = true;
}; };
} }
@@ -0,0 +1,15 @@
{
plugins.conform-nvim = {
enable = true;
autoInstall.enable = true;
settings = {
formatters_by_ft = {
cpp = [ "clang_format" ];
markdown = [
"prettier"
];
};
formatters = { };
};
};
}
@@ -20,6 +20,9 @@
enable = true; enable = true;
}; };
rnix.enable = true; rnix.enable = true;
basedpyright.enable = true;
emmet_ls.enable = true;
}; };
keymaps = [ keymaps = [
+7
View File
@@ -0,0 +1,7 @@
{
flake.modules.homeManager.prusa-slicer = { pkgs, ... }: {
home.packages = with pkgs; [
prusa-slicer
];
};
}
-3
View File
@@ -8,9 +8,6 @@
protontricks = { protontricks = {
enable = true; enable = true;
}; };
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
remotePlay.openFirewall = true;
}; };
}; };
} }
+4 -1
View File
@@ -2,7 +2,10 @@
flake.modules.nixos.backlight = { flake.modules.nixos.backlight = {
programs.light = { programs.light = {
enable = true; enable = true;
brightnessKeys.enable = true; brightnessKeys = {
enable = true;
step = 5;
};
}; };
}; };
} }
+5 -7
View File
@@ -30,14 +30,10 @@
patterns = [ patterns = [
#TODO: home.homeDirectory might be usable here #TODO: home.homeDirectory might be usable here
#TODO: should be user and machine specific #TODO: should be user and machine specific
"R /home/${username}/Documents" "R /home/${username}"
"R /home/${username}/.ssh" "+ /home/${username}/.ssh"
"- /home/${username}/Documents/SteamLibrary" "- /home/${username}/.*"
"- /home/${username}/Documents/PrismLauncher instances"
"- /home/${username}/Documents/.Trash-1000"
"- /home/${username}/Documents/VMs/Data"
"- **/node_modules" "- **/node_modules"
"- **/.git"
"- **/.cache" "- **/.cache"
"- **/*build" "- **/*build"
"- **/target" "- **/target"
@@ -48,6 +44,8 @@
"- **/dist" "- **/dist"
"- **/.pio" "- **/.pio"
]; ];
extraConfig.exclude_if_present = [ ".borgignore" ];
}; };
retention.keepWeekly = 2; retention.keepWeekly = 2;
storage.extraConfig.ssh_command = "ssh -i /home/${username}/.ssh/id_ed25519_borg"; storage.extraConfig.ssh_command = "ssh -i /home/${username}/.ssh/id_ed25519_borg";
+12
View File
@@ -0,0 +1,12 @@
{
flake.modules.homeManager.flameshot = {
services.flameshot = {
enable = true;
settings = {
General = {
useGrimAdapter = true;
};
};
};
};
}
+2
View File
@@ -2,6 +2,8 @@
flake.modules.nixos.tailscale = { flake.modules.nixos.tailscale = {
services.tailscale = { services.tailscale = {
enable = true; enable = true;
# required for using exit nodes
useRoutingFeatures = "client";
}; };
}; };
} }
+9
View File
@@ -0,0 +1,9 @@
{
flake.modules.nixos.bluetooth = {
hardware.bluetooth = {
enable = true;
};
services.blueman.enable = true;
};
}
+14
View File
@@ -0,0 +1,14 @@
{ self, ... }: {
flake.modules.nixos.home-vpn = {
imports = with self.modules.nixos; [
tailscale
resolved
];
services.resolved.extraConfig = ''
[Resolve]
DNS=10.10.0.1
Domains=~veltnet
'';
};
}
+4
View File
@@ -8,4 +8,8 @@
fontDir.enable = true; fontDir.enable = true;
}; };
}; };
flake.modules.homeManager.nerdfonts = {
gtk.font.name = "JetBrainsMono";
};
} }
+8
View File
@@ -0,0 +1,8 @@
{
flake.modules.nixos.opentablet = {
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;
};
};
}
+7
View File
@@ -0,0 +1,7 @@
{
flake.modules.nixos.resolved = {
services.resolved.enable = true;
networking.networkmanager.dns = "systemd-resolved";
};
}
+1
View File
@@ -23,6 +23,7 @@
multimedia multimedia
zsh zsh
thunderbird thunderbird
flameshot
]; ];
}; };
} }
+10 -10
View File
@@ -1,12 +1,12 @@
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFNjTWNPZyB6Mzk1 YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFNjTWNPZyBDZVNV
MWl5cW5uNkc0WTFUTEF1TGFOS0J3a1YyRzJieTlDOGVPbm84WVVNCjJUNlp5K3Ny dEhaL21OOUpVeEIyVHY0RHUySldpMkxEMjNrbk5nbWlNRUZrblRvCmEyTnRlNC8r
YUhMdWp2Zk5tNGp1TkxKcnNST2h1N0VrVnNiaUZzV21QUFUKLT4gc3NoLWVkMjU1 cldvZGEwS1QvSzdWdGdNSHUrR1N5M1lJcXBpcHZ2RDVMc0UKLT4gc3NoLWVkMjU1
MTkgZkJwNFR3IDR5UFhoTkNOUlJyVmovMUQzTExGK2Y2bFZPMW9ZZFdQTFliUFVj MTkgZkJwNFR3IERiWDkrMEk5MU1vSHB4MmpFbjRMSDhiY3EwVXlrejBHT0h2N2pm
WDRPM2cKSjFQVWhVZXFMY0ZzdDEraXdkeW1BVkRtemFQdHYzeUI4ZjhrNFdsdmo1 N0I3MGsKd3RFQ01ObktrNkV5Z1ZsMVFzakVmUXJEczIyV2FVbldCQThCVERQMzJO
WQotPiBzc2gtZWQyNTUxOSBZazBxSWcgOUJxQkMzYzFrYWhVOTVFTnNvVmI1WDBn VQotPiBzc2gtZWQyNTUxOSBZazBxSWcgNjBhL2RldVQ2SWhjL0R2c09jUUY4d01j
U2ZCVDU0WTliQzRxTVZKdCtCdwpYbUlJVmNHaHpuY0dJMldJSEFkbmpkZTlmTkI1 RjFjamExWlEvOHlaVUhhQlhURQplRzgxY1pxblZnOXNkZVVEUHN0MVlsRFlQK1hW
Y3lhQWRBaWdNOGpvcHdzCi0tLSA0dm04SEovSnZ5dW9MaTdxV1NSUGxnZ3orTzNy WWVWQ1NwSHM1eUFtRHBvCi0tLSBnL0tvY3JBR3JVaGZVT2NZU2F4SnJlLzE5VUFw
WUt6eUt6TFAyTGFhdWFVCs0loU4KFs/vYaJX4d31Gf1y8Fv/jWEIALZ4KIqbEPPf QU4zM2lsNnRKQkE2blBVCqVEBU+W7CRtMD5OPPvioRttzBk1ZAJSgSiZkJPdVli9
3C1Ljr2Mbfz231S/zxjfjK2vhHNtYdBtPOsEtpvThCZSTzuJ/WUzox5XUfL7 Phhr6ZWAr3crBp3Pbn3emLmh+79XdOeAjXI5NhKA2/qW1eSpfClr2rIwu3HX
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----