Commit for generation 220
This commit is contained in:
67
flake.nix
67
flake.nix
@@ -1,19 +1,47 @@
|
||||
{
|
||||
description = "NixOS whole-scope system configuration flake";
|
||||
description = "pagedMov's NixOS configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hypr-contrib.url = "github:hyprwm/contrib";
|
||||
hyprpicker.url = "github:hyprwm/hyprpicker";
|
||||
hyprland = {
|
||||
type = "git";
|
||||
url = "https://github.com/hyprwm/Hyprland";
|
||||
submodules = true;
|
||||
};
|
||||
|
||||
catppuccin-bat = {
|
||||
url = "github:catppuccin/bat";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-cava = {
|
||||
url = "github:catppuccin/cava";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-starship = {
|
||||
url = "github:catppuccin/starship";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
spicetify-nix = {
|
||||
url = "github:gerg-l/spicetify-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
#glasshouse-desktop dots
|
||||
nvim.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim";
|
||||
nvim.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/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";
|
||||
toilet.url = "path:/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/toilet";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, rose-pine-hyprcursor, home-manager, foundryvtt, nvim, toilet, nix-autobahn, ... }@inputs:
|
||||
outputs = { nixpkgs, home-manager, self, nvim, toilet, nix-autobahn, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
user = "pagedmov";
|
||||
@@ -25,32 +53,13 @@
|
||||
nixosConfigurations = {
|
||||
glasshouse = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit self;
|
||||
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.${user} = import ./glasshouse-desktop/home.nix;
|
||||
home-manager.extraSpecialArgs = {
|
||||
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 = {
|
||||
};
|
||||
modules = [ ./glasshouse-desktop/sys ];
|
||||
};
|
||||
environment.systemPackages = with nixpkgs; environment.systemPackages ++ [
|
||||
rose-pine-hyprcursor.packages."x86_64-linux".default
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user