add penguin's home

This commit is contained in:
Yadunand Prem 2025-08-19 00:34:18 +08:00
parent 551e27f6e4
commit 3f88eba100
4 changed files with 59 additions and 19 deletions

View File

@ -2,22 +2,24 @@
description = "Yadunand's Configuration"; description = "Yadunand's Configuration";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; agenix.url = "github:ryantm/agenix";
snowfall-lib = { disko = {
url = "github:snowfallorg/lib"; url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =

View File

@ -5,15 +5,6 @@
... ...
}: }:
{ {
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
home.packages = [ home.packages = [
# pkgs.dive # pkgs.dive
pkgs.entr pkgs.entr
@ -21,7 +12,6 @@
pkgs.just pkgs.just
pkgs.rsync pkgs.rsync
pkgs.claude-code pkgs.claude-code
pkgs.devenv
pkgs.dive pkgs.dive
]; ];
@ -44,9 +34,6 @@
signingKey = "~/.ssh/yadunut_ed25519.pub"; signingKey = "~/.ssh/yadunut_ed25519.pub";
}; };
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
targets.darwin = { targets.darwin = {
defaults."com.apple.dock".autohide = true; defaults."com.apple.dock".autohide = true;
defaults."com.apple.finder".AppleShowAllFiles = true; defaults."com.apple.finder".AppleShowAllFiles = true;
@ -54,4 +41,6 @@
defaults.NSGlobalDomain.KeyRepeat = 2; defaults.NSGlobalDomain.KeyRepeat = 2;
defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false; defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
}; };
home.stateVersion = "23.11"; # Please read the comment before changing.
programs.home-manager.enable = true;
} }

View File

@ -0,0 +1,48 @@
{
lib,
pkgs,
config,
...
}:
{
home.packages = with pkgs; [
seahorse
wl-clipboard
];
git = {
enable = true;
signingKey = "~/.ssh/id_ed25519.pub";
};
zsh.enable = true;
neovim.enable = true;
services = {
darkman.enable = true;
hyprpolkitagent.enable = true;
cliphist.enable = true;
ollama = {
enable = true;
host = "0.0.0.0";
port = 11434;
};
};
programs.git.extraConfig.credential.helper = lib.mkForce [
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
"${pkgs.git-credential-oauth}/bin/git-credential-oauth"
];
programs = {
waybar = {
enable = true;
systemd.enable = true;
};
gh.enable = true;
zed-editor.enable = true;
firefox.enable = true;
};
home.stateVersion = "25.11";
programs.home-manager.enable = true;
}

View File

@ -23,6 +23,7 @@ in
ripgrep ripgrep
wget wget
delta delta
devenv
]; ];
programs.bat = { programs.bat = {