91 lines
2.4 KiB
Nix
91 lines
2.4 KiB
Nix
{
|
|
description = "Home Manager configuration of doloro";
|
|
|
|
inputs = {
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
|
|
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";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
disko = {
|
|
url = "github:nix-community/disko/latest";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
stylix = {
|
|
url = "github:nix-community/stylix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
spicetify-nix = {
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
};
|
|
nix-warez = {
|
|
# Blender-bin
|
|
url = "github:edolstra/nix-warez?dir=blender";
|
|
};
|
|
nixpkgs-gamescope = {
|
|
url = "github:Nixos/nixpkgs?rev=8fcb6f1c4948305af52d19f887b89011ee2c080d";
|
|
};
|
|
};
|
|
outputs =
|
|
inputs@{
|
|
nixpkgs,
|
|
home-manager,
|
|
nix-meow,
|
|
...
|
|
}:
|
|
let
|
|
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";
|
|
};
|
|
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 = false;
|
|
};
|
|
})
|
|
];
|
|
in
|
|
(utils.deepMerge configurations);
|
|
}
|