initial commit
This commit is contained in:
+133
@@ -0,0 +1,133 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.lazyvim.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
enable = true;
|
||||
|
||||
# Display fastfetch on shell open.
|
||||
initExtra = ''
|
||||
clear;fastfetch
|
||||
'';
|
||||
};
|
||||
|
||||
fastfetch = {
|
||||
enable = true;
|
||||
|
||||
package = unstable.fastfetch;
|
||||
|
||||
settings = {
|
||||
modules = [
|
||||
"title"
|
||||
"separator"
|
||||
"os"
|
||||
"kernel"
|
||||
"uptime"
|
||||
"host"
|
||||
"localip"
|
||||
"packages"
|
||||
"shell"
|
||||
"terminal"
|
||||
"wm"
|
||||
"cpu"
|
||||
"gpu"
|
||||
"memory"
|
||||
"disk"
|
||||
"break"
|
||||
];
|
||||
|
||||
logo = {
|
||||
source = "nixos2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
|
||||
settings."*" = {
|
||||
AddKeysToAgent = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
lazyvim = {
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
# Enable light mode and configure tabstop
|
||||
# to two spaces rather than 4.
|
||||
options = ''
|
||||
vim.o.background = "light"
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
'';
|
||||
};
|
||||
|
||||
plugins = {
|
||||
colorscheme = ''
|
||||
return {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = { colorscheme = "tokyonight-day" },
|
||||
},
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = { style = "day" },
|
||||
},
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
extras = {
|
||||
lang = {
|
||||
nix.enable = true;
|
||||
python.enable = true;
|
||||
rust.enable = true;
|
||||
dotnet.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
nix
|
||||
alejandra
|
||||
statix
|
||||
];
|
||||
};
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
|
||||
signing = {
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5+RJOhvamBpEptCRv90E+8bVWKn6Mep61wDpPYgKP3 floturcocantsee@daguerro.net";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
settings = {
|
||||
init.defaultBranch = "main";
|
||||
safe.directory = if pkgs.stdenv.hostPlatform.isDarwin then "/etc/nix-darwin" else "/etc/nixos";
|
||||
|
||||
user = {
|
||||
name = "Frank LoTurco";
|
||||
email = "floturcocantsee@protonmail.com";
|
||||
};
|
||||
|
||||
gpg = {
|
||||
format = "ssh";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
Reference in New Issue
Block a user