Files
dotfiles/flake.nix
Menno van Leeuwen 2947ea8060
All checks were successful
Ansible Lint Check / check-ansible (push) Successful in 7s
Nix Format Check / check-format (push) Successful in 43s
Python Lint Check / check-python (push) Successful in 7s
Upgrade to Nix 25.11 and migrate configs
Update flake inputs and flake.lock to Nix/nixpkgs and home-manager
release 25.11; bump home.stateVersion and setup script NIXOS_RELEASE.

Migrate git config to new Home Manager layout (programs.git.settings,
aliases under settings.alias), adjust delta config path, and reorganize
SSH into matchBlocks with enableDefaultConfig=false to avoid global
leaks. Simplify snapd session variable handling to avoid recursion.

Misc: tweak Dashy title, replace du-dust->dust and plex-media-player ->
plex-desktop, remove unused hostname arg, and add GitHub Copilot
instructions document.
2025-12-11 16:28:22 +01:00

52 lines
1.4 KiB
Nix

{
description = "menno's dotfiles";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
opnix.url = "github:brizzbuzz/opnix";
};
outputs =
{
self,
nixpkgs,
home-manager,
opnix,
}:
let
pkgsFor =
system:
import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
homeConfigurations =
let
mkHomeConfig =
system: hostname: isServer:
home-manager.lib.homeManagerConfiguration {
pkgs = pkgsFor system;
modules = [ ./home.nix ];
extraSpecialArgs = {
pkgs = pkgsFor system;
inherit opnix isServer hostname;
};
};
in
{
"mennos-vps" = mkHomeConfig "aarch64-linux" "mennos-vps" true;
"mennos-desktop" = mkHomeConfig "x86_64-linux" "mennos-desktop" false;
"mennos-server" = mkHomeConfig "x86_64-linux" "mennos-server" true;
"mennos-rtlsdr-pc" = mkHomeConfig "x86_64-linux" "mennos-rtlsdr-pc" true;
"mennos-laptop" = mkHomeConfig "x86_64-linux" "mennos-laptop" false;
"mennos-desktopw" = mkHomeConfig "x86_64-linux" "mennos-desktopw" true;
};
};
}