working on tagss development env, devenv and added README
This commit is contained in:
parent
4dd8b0acc6
commit
b2e45bf27f
8 changed files with 69 additions and 33 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
50
.hm-modules/users/speccon18.nix
Normal file
50
.hm-modules/users/speccon18.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tailscale
|
||||
firefox
|
||||
vscodium-fhs
|
||||
alacritty
|
||||
starship
|
||||
];
|
||||
programs = {
|
||||
zsh.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
4
.modules/features/development/devenv.nix
Normal file
4
.modules/features/development/devenv.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -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
4
README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# NixOS Config
|
||||
My personal NixOS Configuration Repository
|
||||
|
||||
[](https://builtwithnix.org)
|
||||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
zsh
|
||||
vim
|
||||
micro
|
||||
tailscale
|
||||
direnv
|
||||
uutils-coreutils
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue