oxidizing
This commit is contained in:
parent
a46356a178
commit
a9eadc52f3
35 changed files with 726 additions and 1223 deletions
27
flake.nix
27
flake.nix
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "My personal Hyprland NixOS config";
|
||||
description = "My personal NixOS config";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
|
@ -28,12 +28,20 @@
|
|||
url = "git+https://git.stribrny.org/max_ag/floating-calculator?rev=2abbacf66e99db523d624037f3e449aa40e8f366";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
niri-flake = {
|
||||
url = "github:sodiboo/niri-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {nixpkgs, ...} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
mkSystem = device-name:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
inherit system;
|
||||
|
||||
specialArgs = {
|
||||
inherit inputs device-name;
|
||||
};
|
||||
|
|
@ -41,19 +49,22 @@
|
|||
./configuration/${device-name}/configuration.nix
|
||||
./configuration/${device-name}/hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.stylix.nixosModules.stylix
|
||||
{
|
||||
home-manager = {
|
||||
enable = true;
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit inputs device-name;
|
||||
inherit inputs device-name system;
|
||||
};
|
||||
|
||||
backupFileExtension = null;
|
||||
users.maxag = ./home/${device-name}/home.nix;
|
||||
sharedModules = [
|
||||
inputs.stylix.homeModules.stylix
|
||||
];
|
||||
|
||||
users.maxag = {
|
||||
imports = [./home/${device-name}/home.nix];
|
||||
home.stateVersion = "25.11";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue