readme changes
This commit is contained in:
@@ -1,55 +1,18 @@
|
|||||||
```
|
```
|
||||||
├── home
|
home
|
||||||
│ ├── etc
|
├── etc
|
||||||
│ │ ├── dconf
|
├── modules
|
||||||
│ │ ├── gtk
|
│ ├── browsers
|
||||||
│ │ ├── polkit
|
│ ├── comm
|
||||||
│ │ └── xdg
|
│ ├── devtools
|
||||||
│ ├── modules
|
│ ├── gaming
|
||||||
│ │ ├── browsers
|
│ ├── terminal
|
||||||
│ │ │ ├── chromium
|
│ ├── userd
|
||||||
│ │ │ └── firefox
|
│ ├── utils
|
||||||
│ │ ├── comm
|
│ └── wm
|
||||||
│ │ │ └── discord
|
│ ├── hyprland
|
||||||
│ │ ├── devtools
|
│ └── utils
|
||||||
│ │ │ ├── neovim
|
└── users
|
||||||
│ │ │ │ └── plugins
|
├── cnst
|
||||||
│ │ │ └── vscode
|
└── toothpick
|
||||||
│ │ ├── gaming
|
|
||||||
│ │ │ ├── lutris
|
|
||||||
│ │ │ └── mangohud
|
|
||||||
│ │ ├── media
|
|
||||||
│ │ ├── studio
|
|
||||||
│ │ ├── terminal
|
|
||||||
│ │ │ ├── alacritty
|
|
||||||
│ │ │ ├── foot
|
|
||||||
│ │ │ ├── kitty
|
|
||||||
│ │ │ ├── wezterm
|
|
||||||
│ │ │ └── zellij
|
|
||||||
│ │ ├── userd
|
|
||||||
│ │ │ ├── copyq
|
|
||||||
│ │ │ ├── mako
|
|
||||||
│ │ │ ├── sops
|
|
||||||
│ │ │ └── udiskie
|
|
||||||
│ │ ├── utils
|
|
||||||
│ │ │ ├── ags
|
|
||||||
│ │ │ ├── anyrun
|
|
||||||
│ │ │ ├── misc
|
|
||||||
│ │ │ ├── rofi
|
|
||||||
│ │ │ ├── waybar
|
|
||||||
│ │ │ └── yazi
|
|
||||||
│ │ │ └── theme
|
|
||||||
│ │ └── wm
|
|
||||||
│ │ ├── hyprland
|
|
||||||
│ │ │ ├── adam
|
|
||||||
│ │ │ ├── cnst
|
|
||||||
│ │ │ └── toothpick
|
|
||||||
│ │ └── utils
|
|
||||||
│ │ ├── hypridle
|
|
||||||
│ │ ├── hyprlock
|
|
||||||
│ │ └── hyprpaper
|
|
||||||
│ └── users
|
|
||||||
│ ├── adam
|
|
||||||
│ ├── cnst
|
|
||||||
│ └── toothpick
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
imports = [
|
|
||||||
./modules.nix
|
|
||||||
./git.nix
|
|
||||||
./shell.nix
|
|
||||||
];
|
|
||||||
home = {
|
|
||||||
username = "adam";
|
|
||||||
homeDirectory = "/home/adam";
|
|
||||||
stateVersion = "23.11";
|
|
||||||
extraOutputsToInstall = ["doc" "devdoc"];
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
|
||||||
# misc.system
|
|
||||||
brightnessctl
|
|
||||||
bun
|
|
||||||
];
|
|
||||||
sessionVariables = {
|
|
||||||
BROWSER = "firefox";
|
|
||||||
EDITOR = "nvim";
|
|
||||||
TERM = "xterm-256color";
|
|
||||||
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
|
||||||
SDL_VIDEODRIVER = "wayland";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# disable manuals as nmd fails to build often
|
|
||||||
manual = {
|
|
||||||
html.enable = false;
|
|
||||||
json.enable = false;
|
|
||||||
manpages.enable = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# let HM manage itself when in standalone mode
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "cnst";
|
|
||||||
userEmail = "adamhilmersson@gmail.com";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
{
|
|
||||||
modules = {
|
|
||||||
browsers = {
|
|
||||||
firefox = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
chromium = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
comm = {
|
|
||||||
discord = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
devtools = {
|
|
||||||
neovim = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
vscode = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
gaming = {
|
|
||||||
lutris = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
mangohud = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
terminal = {
|
|
||||||
alacritty = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
foot = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
kitty = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
zellij = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
userd = {
|
|
||||||
copyq = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
mako = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
udiskie = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
utils = {
|
|
||||||
ags = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
anyrun = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
rofi = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
waybar = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
yazi = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
misc = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
wm = {
|
|
||||||
hyprland = {
|
|
||||||
cnst = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
toothpick = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
adam = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
utils = {
|
|
||||||
hypridle = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
hyprpaper = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
{config, ...}: {
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
dotDir = ".config/zsh";
|
|
||||||
enableCompletion = true;
|
|
||||||
autosuggestion.enable = true;
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
usermodules = "nvim /home/adam/.nix-config/home/users/adam/modules.nix";
|
|
||||||
umod = "nvim /home/adam/.nix-config/home/users/adam/modules.nix";
|
|
||||||
systemmodules = "nvim /home/adam/.nix-config/hosts/adampad/modules.nix";
|
|
||||||
smod = "nvim /home/adam/.nix-config/hosts/adampad/modules.nix";
|
|
||||||
nixclean = "sudo nix run /home/adam/.nix-config#cleanup-boot";
|
|
||||||
nixdev = "nix develop ~/.nix-config -c $SHELL";
|
|
||||||
nixconfig = "cd /home/adam/.nix-config/";
|
|
||||||
ll = "ls -l";
|
|
||||||
nixupdate = "nh os switch -v -H adampad && sudo nix run /home/adam/.nix-config#cleanup-boot";
|
|
||||||
nixup = "nh os switch -H adampad && sudo nix run /home/adam/.nix-config#cleanup-boot";
|
|
||||||
flakeupdate = "nh os switch -u -v -H adampad && sudo nix run /home/adam/.nix-config#cleanup-boot";
|
|
||||||
flakeup = "nh os switch -u -H adampad && sudo nix run /home/adam/.nix-config#cleanup-boot";
|
|
||||||
};
|
|
||||||
history = {
|
|
||||||
size = 1000;
|
|
||||||
path = "${config.xdg.dataHome}/zsh/history";
|
|
||||||
};
|
|
||||||
oh-my-zsh = {
|
|
||||||
enable = true;
|
|
||||||
plugins = [
|
|
||||||
"git"
|
|
||||||
# "thefuck"
|
|
||||||
];
|
|
||||||
theme = "robbyrussell";
|
|
||||||
};
|
|
||||||
profileExtra = ''
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
'';
|
|
||||||
initExtraFirst = ''
|
|
||||||
autoload -U colors && colors
|
|
||||||
'';
|
|
||||||
initExtra = ''
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%F{143}(%F{167}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%f "
|
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%F{143}) %F{202}%1{✗%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN="%F{143})"
|
|
||||||
|
|
||||||
ZSH_THEME_RUBY_PROMPT_PREFIX="%F{167}‹"
|
|
||||||
ZSH_THEME_RUBY_PROMPT_SUFFIX="›%f"
|
|
||||||
|
|
||||||
# Check if we're in a nix-shell or nix develop environment
|
|
||||||
if [[ -n "$IN_NIX_SHELL" ]]; then
|
|
||||||
PROMPT='%F{red}%f%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
|
||||||
%F{143}$ '
|
|
||||||
else
|
|
||||||
PROMPT='%F{143}%~%f $(git_prompt_info)$(virtualenv_prompt_info)
|
|
||||||
%F{143}$ '
|
|
||||||
fi
|
|
||||||
|
|
||||||
RPROMPT='$(ruby_prompt_info)'
|
|
||||||
|
|
||||||
VIRTUAL_ENV_DISABLE_PROMPT=0
|
|
||||||
ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX=" %F{66}🐍 "
|
|
||||||
ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="%f"
|
|
||||||
ZSH_THEME_VIRTUALENV_PREFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX
|
|
||||||
ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX
|
|
||||||
|
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
|
|
||||||
microfetch
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
```
|
```
|
||||||
├── hosts
|
hosts
|
||||||
│ ├── adampad
|
├── adampad
|
||||||
│ ├── cnix
|
├── cnix
|
||||||
│ └── toothpc
|
└── toothpc
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,72 +1,20 @@
|
|||||||
```
|
```
|
||||||
└── system
|
system
|
||||||
├── boot
|
├── boot
|
||||||
│ └── lanzaboote
|
│ └── lanzaboote
|
||||||
|
├── dev
|
||||||
├── etc
|
├── etc
|
||||||
│ ├── dconf
|
|
||||||
│ ├── fonts
|
|
||||||
│ ├── locale
|
|
||||||
│ ├── security
|
|
||||||
│ ├── xdg
|
|
||||||
│ ├── xserver
|
|
||||||
│ │ ├── amd
|
|
||||||
│ │ │ └── hhkbse
|
|
||||||
│ │ └── nvidia
|
|
||||||
│ ├── zram
|
|
||||||
│ └── zsh
|
|
||||||
├── modules
|
├── modules
|
||||||
│ ├── gaming
|
│ ├── gaming
|
||||||
│ │ ├── gamemode
|
|
||||||
│ │ ├── gamescope
|
|
||||||
│ │ ├── lutris
|
|
||||||
│ │ └── steam
|
|
||||||
│ ├── gui
|
│ ├── gui
|
||||||
│ │ ├── gnome
|
|
||||||
│ │ └── hyprland
|
|
||||||
│ ├── hardware
|
│ ├── hardware
|
||||||
│ │ ├── bluetooth
|
|
||||||
│ │ ├── graphics
|
|
||||||
│ │ │ ├── amd
|
|
||||||
│ │ │ └── nvidia
|
|
||||||
│ │ └── logitech
|
|
||||||
│ ├── network
|
|
||||||
│ ├── studio
|
│ ├── studio
|
||||||
│ │ ├── blender
|
|
||||||
│ │ ├── gimp
|
|
||||||
│ │ └── inkscape
|
|
||||||
│ ├── sysd
|
│ ├── sysd
|
||||||
│ │ ├── blueman
|
│ │ ├── network
|
||||||
│ │ ├── dbus
|
│ │ ├── security
|
||||||
│ │ ├── fwupd
|
│ │ ├── session
|
||||||
│ │ ├── gnome-keyring
|
│ │ └── system
|
||||||
│ │ ├── greetd
|
|
||||||
│ │ ├── gvfs
|
|
||||||
│ │ ├── locate
|
|
||||||
│ │ ├── mullvad
|
|
||||||
│ │ ├── pipewire
|
|
||||||
│ │ ├── powerd
|
|
||||||
│ │ ├── samba
|
|
||||||
│ │ ├── sops
|
|
||||||
│ │ ├── ssh
|
|
||||||
│ │ ├── udisks
|
|
||||||
│ │ └── xserver
|
|
||||||
│ │ ├── amd
|
|
||||||
│ │ │ └── hhkbse
|
|
||||||
│ │ └── nvidia
|
|
||||||
│ └── utils
|
│ └── utils
|
||||||
│ ├── android
|
|
||||||
│ ├── anyrun
|
|
||||||
│ ├── corectrl
|
|
||||||
│ ├── microfetch
|
|
||||||
│ └── nix-ld
|
|
||||||
└── nix
|
└── nix
|
||||||
├── home-manager
|
└── utils
|
||||||
├── nh
|
|
||||||
│ ├── adampad
|
|
||||||
│ ├── cnix
|
|
||||||
│ └── toothpc
|
|
||||||
├── nixpkgs
|
|
||||||
├── shell
|
|
||||||
└── substituters
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ in {
|
|||||||
pkgs.fd
|
pkgs.fd
|
||||||
pkgs.beekeeper-studio
|
pkgs.beekeeper-studio
|
||||||
pkgs.gnused
|
pkgs.gnused
|
||||||
|
pkgs.tree
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user