This commit is contained in:
2025-04-24 14:14:55 +00:00
parent 8d51eaa24a
commit 6d490d8864
13 changed files with 186 additions and 15 deletions

View File

@@ -3,14 +3,14 @@
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
# You can access packages and modules from different nixpkgs revs
# at the same time. Here's an working example:
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
# Home manager
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# TODO: Add any other flake you might need
@@ -131,6 +131,16 @@
./hosts/go3-wsl
];
};
StuMini-WSL = nixpkgs.lib.nixosSystem {
pkgs = pkgs;
specialArgs = {
inherit inputs outputs lib;
hostName = "StuMini-WSL";
};
modules = [
./hosts/StuMini-WSL
];
};
StuPC-WSL = nixpkgs.lib.nixosSystem {
pkgs = pkgs;
specialArgs = {
@@ -160,6 +170,19 @@
inputs.sops-nix.homeManagerModules.sops
];
};
"sstent@StuMini-WSL" = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
pkgs = pkgs;
extraSpecialArgs = {
inherit inputs outputs lib;
hostName = "StuMini-WSL";
};
modules = [
# > Our main home-manager configuration file <
./home-manager/users/sstent
inputs.sops-nix.homeManagerModules.sops
];
};
"sstent@StuPC-WSL" = home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
pkgs = pkgs;