mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 02:18:12 +09:00
fix
This commit is contained in:
+7
-4
@@ -21,7 +21,7 @@ let
|
||||
{
|
||||
host,
|
||||
system,
|
||||
profile ? null,
|
||||
profiles ? [ ],
|
||||
extraModules ? [ ],
|
||||
}:
|
||||
assert lib.assertMsg (lib.elem system config.systems)
|
||||
@@ -32,9 +32,9 @@ let
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
../profiles/${profile}.nix
|
||||
./${host}/default.nix
|
||||
]
|
||||
++ map (p: ../profiles/${p}.nix) profiles
|
||||
++ extraModules;
|
||||
specialArgs = { inherit inputs username unstable; };
|
||||
};
|
||||
@@ -44,8 +44,11 @@ in
|
||||
nix-example = mkSystem {
|
||||
host = "nix-example";
|
||||
system = "x86_64-linux";
|
||||
profile = "base";
|
||||
extraModules = [ ];
|
||||
profiles = [
|
||||
"interfaces/cli-interactive"
|
||||
"platforms/vm"
|
||||
"workloads/dev"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../modules/system/boot
|
||||
../modules/system/caches.nix
|
||||
../modules/system/gc.nix
|
||||
../modules/system/hardware
|
||||
../modules/system/network
|
||||
];
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = false;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
htop
|
||||
btop # Simple Terminal Based System Monitor
|
||||
unrar # Tool For Handling .rar Files
|
||||
unzip # Tool For Handling .zip Files
|
||||
wget # Tool For Fetching Files With Links
|
||||
curl # Tool For Fetching Files With Links
|
||||
git # Version Control System
|
||||
unstable.msedit # Microsoft Editor
|
||||
];
|
||||
|
||||
home-manager.users.${username}.imports = [
|
||||
];
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./base.nix
|
||||
];
|
||||
programs = {
|
||||
java = {
|
||||
enable = true;
|
||||
package = pkgs.jdk25;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nil # Nix Language Server
|
||||
python312 # Python 3.12
|
||||
uv # Universal Virtual Environment Manager For Python
|
||||
bun # A Fast JavaScript Runtime Like Node.js And Deno
|
||||
unstable.claude-code # Anthropic's AI Assistant
|
||||
unstable.codex # OpenAI's Code Generation Model
|
||||
unstable.opencode # Coding AI Assistant
|
||||
];
|
||||
|
||||
home-manager.users.${username}.imports = [ ];
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{ username, ... }:
|
||||
{
|
||||
imports = [
|
||||
./cli-minimal.nix
|
||||
];
|
||||
home-manager.users.${username}.imports = [ ];
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{ username, ... }:
|
||||
{
|
||||
imports = [
|
||||
./gui.nix
|
||||
];
|
||||
home-manager.users.${username}.imports = [ ];
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./cli-minimal.nix
|
||||
../modules/system/hardware/gui.nix
|
||||
../modules/system/camera.nix
|
||||
../modules/system/fonts.nix
|
||||
../modules/applications/greetd.nix
|
||||
../modules/applications/fcitx5.nix
|
||||
../modules/applications/kde.nix
|
||||
];
|
||||
|
||||
my.applications = {
|
||||
niri.enable = true;
|
||||
noctalia.enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
seahorse.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
tuigreet # The Login Manager (Sometimes Referred To As Display Manager)
|
||||
fuzzel # A Simple And Lightweight Application Launcher
|
||||
];
|
||||
|
||||
home-manager.users.${username}.imports = [ ];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./cli-minimal.nix
|
||||
];
|
||||
|
||||
my.features.cli.interactive.enable = true;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
my.features = {
|
||||
cli = {
|
||||
base.enable = true;
|
||||
shell.enable = true;
|
||||
};
|
||||
identity.sshDefaultKey.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
imports = [
|
||||
./cli-interactive.nix
|
||||
];
|
||||
|
||||
my.features = {
|
||||
gui = {
|
||||
desktop.enable = true;
|
||||
terminal.enable = true;
|
||||
audio.enable = true;
|
||||
jpInput.enable = true;
|
||||
graphic.enable = true;
|
||||
capture.enable = true;
|
||||
fileManager.enable = true;
|
||||
};
|
||||
services.kde.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./gui.nix
|
||||
../modules/system/hardware/bluetooth.nix
|
||||
../modules/system/fingerprint.nix
|
||||
../modules/system/network/wifi.nix
|
||||
../modules/system/power.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
tailscale # Zero-Config VPN
|
||||
sbctl # Secure Boot Key Management Tool
|
||||
];
|
||||
|
||||
home-manager.users.${username}.imports = [ ];
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
my.features.boot.uefi.enable = true;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
my.features = {
|
||||
boot.power.enable = true;
|
||||
connect = {
|
||||
wifi.enable = true;
|
||||
bluetooth.enable = true;
|
||||
};
|
||||
gui.camera.enable = true;
|
||||
identity.fingerprint.enable = true;
|
||||
network.tailscale.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./laptop.nix
|
||||
];
|
||||
|
||||
my.features.boot.secureBoot.enable = true;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
my.features = {
|
||||
boot.uefi.enable = true;
|
||||
storage.nfsClient.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
my.features = {
|
||||
dev = {
|
||||
agent.enable = true;
|
||||
nix.enable = true;
|
||||
python.enable = true;
|
||||
bun.enable = true;
|
||||
java.enable = true;
|
||||
};
|
||||
gui.editor.enable = true;
|
||||
services.container.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
my.features.application = {
|
||||
browser.enable = true;
|
||||
communication.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
my.features = {
|
||||
cli.base.sshServer = true;
|
||||
network.tailscale.enable = true;
|
||||
services.container.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user