This commit is contained in:
암냥 2026-07-07 09:45:04 +09:00
commit 04c9007f08
No known key found for this signature in database
14 changed files with 389 additions and 59 deletions

View file

@ -3,7 +3,11 @@
overlays,
}:
let
inherit (inputs) nixpkgs;
inherit (inputs)
nixpkgs
home-manager
plasma-manager
;
in
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -13,6 +17,18 @@ nixpkgs.lib.nixosSystem {
"${inputs.self}/modules/mizukios/base"
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.nixos = import ./home.nix;
home-manager.sharedModules = [
plasma-manager.homeModules.plasma-manager
];
}
({ pkgs, ... }: {
environment.systemPackages = with pkgs; [
fastfetch

16
hosts/installer/home.nix Normal file
View file

@ -0,0 +1,16 @@
{ inputs, ... }:
{
xdg.enable = true;
home.stateVersion = "25.11";
home.username = "nixos";
home.homeDirectory = "/home/nixos";
imports = [
"${inputs.self}/modules/home/devtool/ghostty.nix"
"${inputs.self}/modules/home/devtool/zed.nix"
./plasma.nix
./shell.nix
];
}

View file

@ -0,0 +1,13 @@
{ inputs, lib, ... }:
let
assets = "${inputs.self}/assets";
in
{
imports = [ "${inputs.self}/modules/home/plasma.nix" ];
programs.plasma.workspace.cursor = {
theme = "pjsk-cursor-n25-mizuki-ani";
};
programs.plasma.workspace.colorScheme = lib.mkForce "Kawa";
}

54
hosts/installer/shell.nix Normal file
View file

@ -0,0 +1,54 @@
{
programs.fish = {
enable = true;
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
ls = "eza --icons=always";
ll = "eza --icons=always -l";
la = "eza --icons=always -a";
lla = "eza --icons=always -la";
cat = "bat --plain";
clean = "sudo nix-collect-garbage -d";
};
interactiveShellInit = ''
set -g fish_greeting ""
set -g fish_color_command blue
set -g fish_color_error red
set -g fish_color_param cyan
'';
};
programs.starship = {
enable = true;
settings = {
format = "🦔 $directory:$character";
add_newline = false;
# username = {
# style_user = "purple";
# style_root = "purple";
# format = "[$user]($style)";
# show_always = true;
# };
# hostname = {
# style = "green";
# format = "[$hostname]($style)";
# ssh_only = false;
# };
directory = {
style = "fg:#fbb6c4";
format = "[$path]($style)";
truncation_length = 3;
};
character = {
success_symbol = " 💕";
error_symbol = " ";
};
};
};
}