Commit for generation 198
This commit is contained in:
30
flake.nix
30
flake.nix
@@ -7,28 +7,46 @@
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
#glasshouse-desktop dots
|
||||
nvim.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim";
|
||||
nix-autobahn.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/derivations/nix-autobahn";
|
||||
toilet.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/toilet";
|
||||
foundryvtt.url = "github:reckenrode/nix-foundryvtt";
|
||||
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, rose-pine-hyprcursor, home-manager, nvim, toilet, ... }@inputs: {
|
||||
outputs = { nixpkgs, rose-pine-hyprcursor, home-manager, foundryvtt, nvim, toilet, nix-autobahn, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
user = "pagedmov";
|
||||
allowed-unfree-packages = [
|
||||
"foundryvtt"
|
||||
];
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
glasshouse = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit allowed-unfree-packages user;
|
||||
};
|
||||
inherit system;
|
||||
modules = [
|
||||
./glasshouse-desktop/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
foundryvtt.nixosModules.foundryvtt
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.pagedmov = import ./glasshouse-desktop/home.nix;
|
||||
home-manager.users.${user} = import ./glasshouse-desktop/home.nix;
|
||||
home-manager.extraSpecialArgs = {
|
||||
nvim = nvim.packages."x86_64-linux".default;
|
||||
toilet = toilet.packages."x86_64-linux".default;
|
||||
inherit allowed-unfree-packages user;
|
||||
nvim = nvim.packages."x86_64-linux".default;
|
||||
toilet = toilet.packages."x86_64-linux".default;
|
||||
nix-autobahn = nix-autobahn.packages."x86_64-linux".nix-autobahn;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with nixpkgs; environment.systemPackages ++ [
|
||||
rose-pine-hyprcursor.packages."x86_64-linux".default
|
||||
|
||||
Reference in New Issue
Block a user