mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
move common imports
This commit is contained in:
11
flake.nix
11
flake.nix
@ -45,7 +45,6 @@
|
||||
canopus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
modules = [
|
||||
./modules/nixos
|
||||
./hosts/canopus
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -55,7 +54,6 @@
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs username;};
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./modules/home-manager
|
||||
./hosts/canopus/home.nix
|
||||
];
|
||||
};
|
||||
@ -66,7 +64,6 @@
|
||||
controller = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
modules = [
|
||||
./modules/nixos
|
||||
./hosts/controller
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -76,7 +73,7 @@
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs username;};
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./modules/home-manager
|
||||
./hosts/controller/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -86,7 +83,6 @@
|
||||
wsl = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
modules = [
|
||||
./modules/nixos
|
||||
./hosts/wsl
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -96,7 +92,7 @@
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs username;};
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./modules/home-manager
|
||||
./hosts/wsl/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -106,7 +102,6 @@
|
||||
isoImage = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
modules = [
|
||||
./modules/nixos
|
||||
./hosts/isoImage
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -116,7 +111,7 @@
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs username;};
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./modules/home-manager
|
||||
./hosts/isoImage/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
imports = [
|
||||
inputs.nixos-hardware.nixosModules.asus-zephyrus-ga503
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos/default.nix
|
||||
../common
|
||||
../../modules/nixos/desktop
|
||||
../../modules/nixos/desktop/awesome
|
||||
../../modules/nixos/desktop/hyprland
|
||||
|
@ -1,5 +1,6 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
../common/home.nix
|
||||
../../modules/home-manager/awesome
|
||||
../../modules/home-manager/hyprland
|
||||
../../modules/home-manager/waybar
|
||||
|
12
modules/home-manager/default.nix → hosts/common/home.nix
Executable file → Normal file
12
modules/home-manager/default.nix → hosts/common/home.nix
Executable file → Normal file
@ -4,12 +4,12 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./shell
|
||||
./git
|
||||
./starship
|
||||
./nvim
|
||||
./tmux
|
||||
./helix
|
||||
../../modules/home-manager/shell
|
||||
../../modules/home-manager/git
|
||||
../../modules/home-manager/starship
|
||||
../../modules/home-manager/nvim
|
||||
../../modules/home-manager/tmux
|
||||
../../modules/home-manager/helix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
@ -8,7 +8,7 @@
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos/default.nix
|
||||
../common
|
||||
../../modules/nixos/headscale.nix
|
||||
../../modules/nixos/vaultwarden.nix
|
||||
../../modules/nixos/uptime-kuma.nix
|
||||
|
@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../common/home.nix
|
||||
];
|
||||
}
|
||||
|
5
hosts/isoImage/home.nix
Normal file
5
hosts/isoImage/home.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../common/home.nix
|
||||
];
|
||||
}
|
@ -7,7 +7,7 @@
|
||||
}: {
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.wsl
|
||||
../../modules/nixos/default.nix
|
||||
../common
|
||||
../../modules/nixos/virtualisation/docker.nix
|
||||
];
|
||||
|
||||
|
5
hosts/wsl/home.nix
Normal file
5
hosts/wsl/home.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
../common/home.nix
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user