1
0
Fork 0
forked from autowolf/nix

hopefully this fixes it?

This commit is contained in:
do butterflies cry? 2026-02-23 13:08:41 +10:00
parent fb4b2c1ed9
commit a97c3b3885
5 changed files with 80 additions and 50 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# home-manager, used for managing user configuration
home-manager = {
url = "github:nix-community/home-manager/master";
@ -12,6 +13,7 @@
# to avoid problems caused by different versions of nixpkgs.
inputs.nixpkgs.follows = "nixpkgs";
};
silentSDDM = {
url = "github:uiriansan/SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
@ -21,13 +23,14 @@
hyprland-git = {
url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
nixpkgs,
home-manager,
nixcats,
silentSDDM,
...
}: {
nixosConfigurations = {
@ -35,21 +38,10 @@
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
inputs.silentSDDM.nixosModules.default
# make home-manager as a module of nixos
# so that home-manager configuration will be deployed automatically when executing `nixos-rebuild switch`
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.users.ashley = import ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix
}
silentSDDM.nixosModules.default
];
};
};