user switched not stable
This commit is contained in:
32
flake.nix
32
flake.nix
@@ -1,30 +1,28 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
|
||||
outputs = { self, nixpkgs, ... } @ inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
username = "poslop";
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
nixos-vm2 = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
./hosts/nixos-vm2/configuration.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
home-manager.users.poslop = import ./modules/home;
|
||||
|
||||
}
|
||||
];
|
||||
modules = [ ./hosts/nixos-vm2/configuration.nix ];
|
||||
specialArgs = {
|
||||
host = "nixos-vm2";
|
||||
inherit self inputs username;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user