some helix changes but mainly removing a user

This commit is contained in:
cnst
2024-09-04 15:35:27 +02:00
parent fcbd868789
commit 52e3b73c6d
23 changed files with 421 additions and 179 deletions

View File

@@ -0,0 +1,107 @@
{lib, ...}: let
inherit (lib) mkForce;
in {
modules = {
# browsers = {
# firefox = {
# enable = mkForce true;
# };
# chromium = {
# enable = mkForce true;
# };
# };
# comm = {
# discord = {
# enable = mkForce true;
# };
# };
# devtools = {
# neovim = {
# enable = mkForce true;
# };
# vscode = {
# enable = mkForce false;
# };
# helix = {
# enable = mkForce true;
# };
# };
# gaming = {
# lutris = {
# enable = mkForce false;
# };
# mangohud = {
# enable = mkForce false;
# };
# };
# terminal = {
# alacritty = {
# enable = mkForce true;
# };
# foot = {
# enable = mkForce true;
# };
# kitty = {
# enable = mkForce true;
# };
# wezterm = {
# enable = mkForce true;
# };
# zellij = {
# enable = mkForce false;
# };
# };
# userd = {
# copyq = {
# enable = mkForce true;
# };
# mako = {
# enable = mkForce true;
# };
# udiskie = {
# enable = mkForce true;
# };
# };
# utils = {
# anyrun = {
# enable = mkForce false;
# };
# rofi = {
# enable = mkForce false;
# };
# waybar = {
# enable = mkForce true;
# };
# yazi = {
# enable = mkForce true;
# };
# zathura = {
# enable = mkForce true;
# };
# misc = {
# enable = mkForce true;
# };
# };
# wm = {
# hyprland = {
# cnst = {
# enable = mkForce true;
# };
# toothpick = {
# enable = mkForce false;
# };
# };
# utils = {
# hypridle = {
# enable = mkForce true;
# };
# hyprlock = {
# enable = mkForce true;
# };
# hyprpaper = {
# enable = mkForce true;
# };
# };
# };
};
}

View File

@@ -1,9 +1,17 @@
{pkgs, ...}: {
{
pkgs,
lib,
osConfig,
...
}: let
isCnixpad = osConfig.networking.hostName == "cnixpad";
in {
imports = [
./modules.nix
./git.nix
./shell.nix
];
./modules.nix
./git.nix
./shell.nix
]
++ lib.optionals isCnixpad [ ./cpmodules.nix ];
home = {
username = "cnst";
homeDirectory = "/home/cnst";
@@ -15,7 +23,7 @@
];
sessionVariables = {
BROWSER = "firefox";
EDITOR = "nvim";
EDITOR = "hx";
TERM = "xterm-256color";
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d"; # proton and steam compat

View File

@@ -1,4 +0,0 @@
let
modules = import ./modules.nix;
in
builtins.toJSON modules

View File

@@ -61,9 +61,6 @@
};
};
utils = {
ags = {
enable = false;
};
anyrun = {
enable = false;
};
@@ -91,9 +88,6 @@
toothpick = {
enable = false;
};
adam = {
enable = false;
};
};
utils = {
hypridle = {

View File

@@ -7,18 +7,18 @@
syntaxHighlighting.enable = true;
shellAliases = {
usermodules = "nvim /home/cnst/.nix-config/home/users/cnst/modules.nix";
umod = "nvim /home/cnst/.nix-config/home/users/cnst/modules.nix";
systemmodules = "nvim /home/cnst/.nix-config/hosts/cnix/modules.nix";
smod = "nvim /home/cnst/.nix-config/hosts/cnix/modules.nix";
nixclean = "sudo nix run /home/cnst/.nix-config#cleanup-boot";
usermodules = "$EDITOR /home/$USER/.nix-config/home/users/$USER/modules.nix";
umod = "$EDITOR /home/$USER/.nix-config/home/users/$USER/modules.nix";
systemmodules = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
smod = "$EDITOR /home/$USER/.nix-config/hosts/$HOST/modules.nix";
nixclean = "sudo nix run /home/$USER/.nix-config#cleanup-boot";
nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/cnst/.nix-config/";
nixconfig = "cd /home/$USER/.nix-config/";
ll = "ls -l";
nixupdate = "nh os switch -v -H cnix && sudo nix run /home/cnst/.nix-config#cleanup-boot";
nixup = "nh os switch -H cnix && sudo nix run /home/cnst/.nix-config#cleanup-boot";
flakeupdate = "nh os switch -u -v -H cnix && sudo nix run /home/cnst/.nix-config#cleanup-boot";
flakeup = "nh os switch -u -H cnix && sudo nix run /home/cnst/.nix-config#cleanup-boot";
nixupdate = "nh os switch -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
nixup = "nh os switch -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
flakeupdate = "nh os switch -u -v -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
flakeup = "nh os switch -u -H $HOST && sudo nix run /home/$USER/.nix-config#cleanup-boot";
};
history = {
size = 1000;
@@ -28,7 +28,6 @@
enable = true;
plugins = [
"git"
# "thefuck"
];
theme = "robbyrussell";
};