2023-03-09 18:49:28 +00:00
|
|
|
{
|
|
|
|
description = "~tsv's system config";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2023-03-09 20:16:16 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-03-15 14:58:55 +00:00
|
|
|
devenv.url = "github:cachix/devenv/latest";
|
2023-04-01 21:18:50 +00:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2023-04-04 08:06:26 +00:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
codeium = {
|
|
|
|
url = "github:jcdickinson/codeium.nvim";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-03-09 18:49:28 +00:00
|
|
|
};
|
|
|
|
|
2023-04-04 08:06:26 +00:00
|
|
|
outputs = inputs@{ nixpkgs, home-manager, devenv, hyprland, codeium, ... }: {
|
2023-03-09 18:49:28 +00:00
|
|
|
nixosConfigurations = {
|
|
|
|
ritchie = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
2023-03-15 14:58:55 +00:00
|
|
|
specialArgs.inputs = inputs;
|
|
|
|
|
2023-03-09 18:49:28 +00:00
|
|
|
modules = [
|
|
|
|
./system/configuration.nix
|
2023-03-09 20:16:16 +00:00
|
|
|
|
2023-04-01 21:18:50 +00:00
|
|
|
hyprland.nixosModules.default
|
|
|
|
{ programs.hyprland.enable = true; }
|
|
|
|
|
2023-03-09 20:16:16 +00:00
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
users.tsv = import users/tsv/home.nix;
|
2023-03-10 08:22:59 +00:00
|
|
|
users.foxsoft = import users/foxsoft/home.nix;
|
2023-03-09 20:16:16 +00:00
|
|
|
};
|
|
|
|
}
|
2023-03-09 18:49:28 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|