2022-12-06 01:24:54 -05:00
|
|
|
{
|
2023-03-06 05:35:45 -05:00
|
|
|
|
|
|
|
description = "snowflake";
|
|
|
|
|
2022-12-06 01:24:54 -05:00
|
|
|
inputs = {
|
2022-12-19 17:55:54 -05:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2022-12-14 19:26:48 -05:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2022-12-19 17:55:54 -05:00
|
|
|
};
|
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2023-02-04 12:38:36 -05:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-12-06 01:24:54 -05:00
|
|
|
};
|
2023-02-04 12:38:36 -05:00
|
|
|
outputs = { self, nixpkgs, home-manager, hyprland, flake-utils, ... }:
|
2022-12-19 17:55:54 -05:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
2022-12-06 01:24:54 -05:00
|
|
|
};
|
2022-12-06 21:36:50 -05:00
|
|
|
|
2022-12-19 17:55:54 -05:00
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
2023-01-31 12:48:05 -05:00
|
|
|
tsuki = lib.nixosSystem {
|
2022-12-19 17:55:54 -05:00
|
|
|
inherit system;
|
|
|
|
modules = [
|
2023-02-04 12:38:36 -05:00
|
|
|
./hosts/tsuki
|
2022-12-19 17:55:54 -05:00
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-02-04 12:38:36 -05:00
|
|
|
home-manager.users.notoh = {
|
|
|
|
imports = [
|
|
|
|
hyprland.homeManagerModules.default
|
2023-02-27 05:39:25 -05:00
|
|
|
./hosts/tsuki/home.nix
|
2023-02-04 12:38:36 -05:00
|
|
|
];
|
|
|
|
};
|
2022-12-19 17:55:54 -05:00
|
|
|
}
|
|
|
|
];
|
2022-12-06 01:24:54 -05:00
|
|
|
};
|
2023-01-31 12:57:48 -05:00
|
|
|
hime = lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
modules = [
|
2023-02-04 12:38:36 -05:00
|
|
|
./hosts/hime
|
2023-02-27 05:39:25 -05:00
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.oh = {
|
|
|
|
imports = [
|
|
|
|
./hosts/hime/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
2023-01-31 12:57:48 -05:00
|
|
|
];
|
|
|
|
};
|
2023-02-27 21:38:27 -05:00
|
|
|
sutakku = lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
modules = [
|
|
|
|
./hosts/sutakku
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.oh = {
|
|
|
|
imports = [
|
|
|
|
./hosts/sutakku/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-01-31 12:57:48 -05:00
|
|
|
};
|
2023-02-05 11:40:56 -05:00
|
|
|
};
|
2022-12-06 01:24:54 -05:00
|
|
|
}
|