mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-20 16:01:21 +02:00
refactor(home): consolidate host home modules under home/hosts
This commit is contained in:
18
home/hosts/linux/12kingdoms-shoukei.nix
Normal file
18
home/hosts/linux/12kingdoms-shoukei.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
hostName = "shoukei"; # Define your hostname.
|
||||
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
{
|
||||
imports = [ ../../linux/gui.nix ];
|
||||
|
||||
programs.ssh.matchBlocks."github.com".identityFile =
|
||||
"${config.home.homeDirectory}/.ssh/${hostName}";
|
||||
|
||||
modules.desktop.gaming.enable = false;
|
||||
modules.desktop.niri.enable = true;
|
||||
modules.desktop.nvidia.enable = false;
|
||||
|
||||
xdg.configFile."niri/niri-hardware.kdl".source =
|
||||
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/12kingdoms-shoukei/niri-hardware.kdl";
|
||||
}
|
||||
16
home/hosts/linux/idols-ai.nix
Normal file
16
home/hosts/linux/idols-ai.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
{
|
||||
imports = [ ../../linux/gui.nix ];
|
||||
|
||||
programs.ssh.matchBlocks."github.com".identityFile = "${config.home.homeDirectory}/.ssh/idols-ai";
|
||||
|
||||
modules.desktop.gaming.enable = true;
|
||||
modules.desktop.niri.enable = true;
|
||||
modules.desktop.nvidia.enable = true;
|
||||
|
||||
xdg.configFile."niri/niri-hardware.kdl".source =
|
||||
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/idols-ai/niri-hardware.kdl";
|
||||
}
|
||||
21
home/hosts/linux/idols-aquamarine.nix
Normal file
21
home/hosts/linux/idols-aquamarine.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
programs.gh.enable = true;
|
||||
programs.git.enable = true;
|
||||
|
||||
programs.zellij.enable = true;
|
||||
programs.bash.enable = true;
|
||||
programs.nushell.enable = true;
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
3
home/hosts/linux/idols-kana.nix
Normal file
3
home/hosts/linux/idols-kana.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ./idols-aquamarine.nix ];
|
||||
}
|
||||
3
home/hosts/linux/idols-ruby.nix
Normal file
3
home/hosts/linux/idols-ruby.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ./idols-aquamarine.nix ];
|
||||
}
|
||||
3
home/hosts/linux/k3s-prod-1-master-1.nix
Normal file
3
home/hosts/linux/k3s-prod-1-master-1.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ../../linux/core.nix ];
|
||||
}
|
||||
3
home/hosts/linux/k3s-test-1-master-1.nix
Normal file
3
home/hosts/linux/k3s-test-1-master-1.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ../../linux/core.nix ];
|
||||
}
|
||||
Reference in New Issue
Block a user