1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 19:53:07 +00:00
This commit is contained in:
Rae 5e 2024-12-17 16:16:23 -05:00
parent 506eead326
commit 53159f4ddc
4 changed files with 33 additions and 34 deletions

View file

@ -2,27 +2,29 @@
description = "rae's nixOS config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations = {
qemu = nixpkgs.lib.nixosSystem {
gayfurries = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/qemu/configuration.nix
# home-manager.nixosModules.home-manager {
# home-manager = {
# useGlobalPkgs = true;
# useUserPackages = true;
# users.rae = import ./home.nix;
# };
# }
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.rae = import ./home.nix;
};
}
];
};
};