working on tagss development env, devenv and added README

This commit is contained in:
Steven Carpenter 2023-02-14 00:45:36 -05:00
parent 4dd8b0acc6
commit b2e45bf27f
8 changed files with 69 additions and 33 deletions

View file

@ -1,20 +1,10 @@
{ config, pkgs, lib, ... }:
{
imports = [
./users/speccon18.nix
];
programs.home-manager.enable = true;
# https://github.com/arouzing/nix/blob/main/hm/sky/home.nix
home = {
username = "speccon18";
homeDirectory = "/home/speccon18";
stateVersion = "22.11";
};
direnv = {
enableZshIntegration = true;
enable = true;
};
starship = {
enable = true;
enableZshIntegration = true;
};
zsh = {
enable = true;
};
}

View file

@ -0,0 +1,50 @@
{ config, pkgs, lib, ... }:
{
home-manager.users.speccon18 = {
home.packages = [
firefox
vscodium-fhs
alacritty
starship
diff-so-fancy
];
};
programs = {
home = {
username = "speccon18";
homeDirectory = "/home/speccon18";
stateVersion = "22.11";
};
direnv = {
enableZshIntegration = true;
enable = true;
};
starship = {
enable = true;
enableZshIntegration = true;
};
zsh = {
enable = lib.mkDefault true;
dotDir = ".config/zsh";
history = {
path = "$ZDOTDIR/.zsh_history";
save = 10000000;
};
};
git = {
enable = true;
userName = "specCon18";
userEmail = "specCon18@gmail.com";
# signing = {
# key = "71F252936D785219";
# signByDefault = true;
# };
diff-so-fancy = {
enable = true;
changeHunkIndicators = true;
};
lfs.enable = true;
};
};
}

View file

@ -1,13 +0,0 @@
{ config, pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
tailscale
firefox
vscodium-fhs
alacritty
starship
];
programs = {
zsh.enable = lib.mkDefault true;
};
}

View file

@ -0,0 +1,4 @@
{ config, pkgs, lib, ... }:
{
}

View file

@ -1,12 +1,12 @@
{ config, pkgs, lib, ... }:
{
users.users.speccon18 = {
users.users.speccon18 = {
shell = pkgs.zsh;
isNormalUser = true;
initialHashedPassword = "$6$pJB0TDUj8IS8hQNJ$GfENlHg89lsUjRiSaePWJeqX1pevTTZOuEw5KgcVEpyPw9lyiAifz5ZiuOQnYxUAMhAiCmF/pCjaWSy6m5sWM/";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdigmndcdQD/864P059K2hZOXyEkbGvMkH0/b2QavkD speccon18@creatorforge"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPc1AQ6hcjdSZZuhS5SISwtulFoTLpC5f5JoMFQkZ5l2 specCon18@DESKTOP-Q1I2PAE"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdigmndcdQD/864P059K2hZOXyEkbGvMkH0/b2QavkD speccon18@creatorforge"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPc1AQ6hcjdSZZuhS5SISwtulFoTLpC5f5JoMFQkZ5l2 specCon18@DESKTOP-Q1I2PAE"
];
description = "admin";
extraGroups = [ "wheel" "docker" ];

4
README.md Normal file
View file

@ -0,0 +1,4 @@
# NixOS Config
My personal NixOS Configuration Repository
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)

View file

@ -15,7 +15,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, home-manager, nixos-generators, nixpkgs, ... }@inputs:
outputs = { self, home-manager, nixos-generators, flake-utils, nixpkgs, ... }@inputs:
{
proxmox = nixos-generators.nixosGenerate {
system = "x86_64-linux";

View file

@ -37,6 +37,7 @@
zsh
vim
micro
tailscale
direnv
uutils-coreutils
];