fucking(refactored): everything

This commit is contained in:
2025-10-16 01:25:34 +01:00
parent e25053b02d
commit 34730d793c
44 changed files with 344 additions and 161 deletions

View File

@@ -8,6 +8,7 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-meow.url = "git+https://git.scug.io/nikkuss/nix-meow.git"; # config manager, meow'd
hyprland.url = "github:hyprwm/Hyprland";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
@@ -42,53 +43,47 @@
};
};
outputs =
inputs@{ nixpkgs, home-manager, ... }:
inputs@{
nixpkgs,
home-manager,
nix-meow,
...
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
utils = nix-meow.lib.setup {
inherit (inputs) home-manager nixpkgs;
inherit inputs;
flakeRoot = ./.;
hostsFolder = ./hosts;
hardwaresFolder = ./hardwares;
modulesFolder = ./modules;
globalConfig = {
allowUnfree = true;
};
globalOverlays = [ ];
defaultUser = "doloro";
};
overlays = [ inputs.neovim-nightly-overlay.overlays.default ];
inherit (utils) mkHost;
configurations = [
(mkHost {
hardware = "doloro";
host = "doloro";
system = "x86_64-linux";
stateVersion = "25.05";
nixpkgsConfig = {
rocmSupport = true;
};
})
(mkHost {
hardware = "doloro-wsl";
host = "doloro-wsl";
system = "aarch64-linux";
stateVersion = "25.05";
nixpkgsConfig = {
rocmSupport = true;
};
})
];
in
{
homeConfigurations."doloro" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs system;
};
modules = [ ./hosts/doloro/home.nix ];
};
homeConfigurations."doloro-wsl" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs system;
};
modules = [ ./hosts/doloro-wsl/home.nix ];
};
nixosConfigurations.doloroo-main = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system;
};
modules = [
./hosts/doloro/configuration.nix
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
{ nixpkgs.overlays = overlays; }
];
};
nixosConfigurations.doloroo-laptop-wsl = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system;
};
modules = [
./hosts/doloro-wsl/configuration.nix
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
{ nixpkgs.overlays = overlays; }
];
};
};
(utils.deepMerge configurations);
}