Regenerated
This commit is contained in:
+28
-37
@@ -81,7 +81,6 @@ The Nix flake definition for Droidnix.
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
@@ -90,45 +89,34 @@ The Nix flake definition for Droidnix.
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
emacs-overlay = {
|
||||
url = "github:nix-community/emacs-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
url = "github:youwen5/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, nixpkgs, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
outputs = inputs@{ flake-parts, nixpkgs, import-tree, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
|
||||
systems = [ "x86_64-linux" ];
|
||||
flake = {
|
||||
nixosConfigurations.traveldroid = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
flake = {
|
||||
nixosConfigurations.traveldroid = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
./generated/hosts/traveldroid/hardware-configuration.nix
|
||||
|
||||
modules =
|
||||
[
|
||||
# ./generated/system/mysystem.nix
|
||||
]
|
||||
# ++ (inputs.import-tree ./generated/parked).imports # moved to traveldroid
|
||||
++ [
|
||||
./generated/hosts/traveldroid/traveldroid.nix
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
./generated/hosts/traveldroid/hardware-configuration.nix
|
||||
# Import all dendritic modules (users, desktops, system modules)
|
||||
(import-tree ./generated/modules)
|
||||
|
||||
inputs.stylix.nixosModules.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
# Extra modules
|
||||
inputs.stylix.nixosModules.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
** =debug-modules.nix=
|
||||
@@ -259,7 +247,7 @@ let
|
||||
username = "henrov";
|
||||
in
|
||||
{
|
||||
# NixOS system user
|
||||
# NixOS user
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
@@ -270,9 +258,12 @@ in
|
||||
# Home Manager user definition
|
||||
_module.args.hmUsers = {
|
||||
${username} = {
|
||||
home.stateVersion = "26.05";
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
# Example: user packages
|
||||
home.packages = [ pkgs.git pkgs.vim ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -670,10 +661,10 @@ in
|
||||
${username} = {
|
||||
home.packages = [ pkgs.hyprland ];
|
||||
|
||||
# Set config files under ~/.config/hypr
|
||||
# Copy main config into ~/.config/hypr
|
||||
home.file.".config/hypr/hyprland.conf".source = mainConfig;
|
||||
|
||||
# Example additional settings (can extend per module)
|
||||
# Optional: extend settings for this module
|
||||
settings.general."col.active_border" = "0xff97cbcd 0xff89b4fa";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user