freddy ready for the new

This commit is contained in:
cnst
2024-08-01 19:19:20 +02:00
parent a58147df97
commit 12acb4fc47
3 changed files with 21 additions and 61 deletions

View File

@@ -1,41 +1,24 @@
{pkgs, ...}: {
imports = [
# core.gui
../../core/gui/gtk
../../core/gui/waybar
../../core/gui/browsers
../../core/gui/xdg
../../core/gui/discord
../../core/gui/vscode
../../core/gui/utility
../../core/gui/hypr/toothpick.nix
# core.tui
../../core/tui/git/toothpick.nix
../../core/tui/shell/toothpick.nix
../../core/tui/alacritty
../../core/tui/foot
../../core/tui/wezterm
../../core/tui/neovim
# core.services
../../core/services/mako
../../core/services/polkit
../../core/services/hypr
];
home = {
username = "toothpick";
homeDirectory = "/home/toothpick";
stateVersion = "23.11";
extraOutputsToInstall = ["doc" "devdoc"];
packages = with pkgs; [
# misc.gui
virt-manager
xfce.thunar
filezilla
# misc.tui
ranger
xcur2png
# misc.system
adwaita-icon-theme
egl-wayland
qt5.qtwayland
qt6.qtwayland
egl-wayland
# thefuck
wireguard-tools
wl-clipboard
@@ -47,10 +30,20 @@
BROWSER = "firefox";
EDITOR = "nvim";
TERM = "foot";
QT_QPA_PLATFORM = "wayland-egl";
SDL_VIDEODRIVER = "wayland";
XDG_SESSION_TYPE = "wayland";
ELECTRON_OZONE_PLATFORM_HINT = "auto";
};
};
# 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;
}

View File

@@ -1,36 +0,0 @@
{
inputs,
lib,
config,
pkgs,
...
}: {
imports = [
./imports.nix
];
nix = {
package = lib.mkDefault pkgs.nix;
settings = {
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
};
};
# TODO: Set your username
home = {
username = "toothpick";
homeDirectory = "/home/toothpick";
};
programs.home-manager.enable = true;
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
}

View File

@@ -35,7 +35,10 @@ in {
];
boot = {
blacklistedKernelModules = ["ucsi_ccg"];
blacklistedKernelModules = [
"ucsi_ccg"
"i2c_nvidia_gpu"
];
consoleLogLevel = 3;
kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos;
kernelParams = [