mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 19:53:07 +00:00
~
This commit is contained in:
parent
e9c8b32322
commit
7b1018c997
4 changed files with 248 additions and 235 deletions
30
nixos/flake.nix
Normal file
30
nixos/flake.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
description = "rae's nixOS config flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||
nixosConfigurations = {
|
||||
qemu = 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;
|
||||
# };
|
||||
# }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue