lots of updates

This commit is contained in:
Mars 2024-07-28 02:49:27 -04:00
parent 6794105303
commit eb2692dff9
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
10 changed files with 176 additions and 124 deletions

View file

@ -108,6 +108,7 @@ with lib // pkgs // inputs; {
snowfallorg.flake
sound-theme-freedesktop
virtio-win
(warp-terminal.override {waylandSupport = true;})
winetricks
wineWowPackages.staging
xclip
@ -247,7 +248,6 @@ with lib // pkgs // inputs; {
};
programs = {
darling.enable = true;
dconf.enable = true;
fish.enable = true;
gamemode.enable = true;
@ -307,6 +307,7 @@ with lib // pkgs // inputs; {
harfbuzz
icu
keyutils.lib
libgcc
libGL
libGLU
libappindicator-gtk2
@ -394,7 +395,10 @@ with lib // pkgs // inputs; {
networkmanager.enable = true;
};
time.timeZone = "America/New_York";
time = {
hardwareClockInLocalTime = true;
timeZone = "America/New_York";
};
services = {
btrfs.autoScrub.enable = true;
@ -447,6 +451,17 @@ with lib // pkgs // inputs; {
};
};
snowfallorg.users.marshall = {
create = true;
admin = true;
home = {
enable = true;
config = import ./home.nix {inherit lib pkgs inputs;};
};
};
hardware = {
bluetooth.enable = true;
i2c.enable = true;

View file

@ -1,6 +1,3 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,

View file

@ -0,0 +1,167 @@
{
lib,
pkgs,
inputs,
...
}: {
colorScheme = inputs.nix-colors.colorSchemes.catppuccin-mocha;
imports = with inputs; [
catppuccin.homeManagerModules.catppuccin
chaotic.homeManagerModules.default
hyprland.homeManagerModules.default
nix-colors.homeManagerModules.default
nix-index-database.hmModules.nix-index
schizofox.homeManagerModules.default
];
home = {
packages = with pkgs;
[
alejandra
beeper
duf
eternal-terminal
glow
grc
iamb
jamesdsp
jdk21
killall
libnotify
lm_sensors
loupe
mpv
neovide
playerctl
prismlauncher
slack
telegram-desktop
vesktop
youki
(pkgs.buildFHSUserEnv {
name = "zed";
targetPkgs = pkgs:
with pkgs; [
zed-editor
];
runScript = "zed";
})
]
++ (with jetbrains; [
clion
rust-rover
webstorm
idea-ultimate
])
++ (with inputs; [
nixvim.packages.${pkgs.system}.default
])
++ (with inputs.chaotic.packages.${pkgs.system}; [
distrobox_git
firefox_nightly
]);
stateVersion = "24.05";
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
xdg.enable = true;
catppuccin = {
enable = true;
flavor = "mocha";
accent = "green";
pointerCursor.enable = true;
};
gtk = let
gradiencePreset = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/GradienceTeam/Community/next/official/catppuccin-macchiato.json";
hash = "sha256-FgQvmK/Pjn980o+UVc2a70kGa6sGse045zPS9hzCs14=";
};
gradienceBuild = pkgs.stdenv.mkDerivation {
name = "gradience-build";
phases = ["buildPhase" "installPhase"];
nativeBuildInputs = [pkgs.gradience];
buildPhase = ''
shopt -s nullglob
export HOME=$TMPDIR
mkdir -p $HOME/.config/presets
gradience-cli apply -p ${gradiencePreset} --gtk both
'';
installPhase = ''
mkdir -p $out
cp -r .config/gtk-4.0 $out/
cp -r .config/gtk-3.0 $out/
'';
};
in {
enable = true;
theme.name = "adw-gtk3-dark";
theme.package = pkgs.adw-gtk3;
gtk3 = {
extraCss = builtins.readFile "${gradienceBuild}/gtk-3.0/gtk.css";
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
gtk4 = {
extraCss = builtins.readFile "${gradienceBuild}/gtk-4.0/gtk.css";
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
};
qt = {
enable = true;
platformTheme.name = "kvantum";
style.name = "kvantum";
style.catppuccin.enable = true;
};
programs = {
nix-index-database.comma.enable = true;
nix-index.enable = true;
ripgrep.enable = true;
fzf = {
enable = true;
catppuccin.enable = true;
colors = with lib; {
bg = mkForce "-1";
"bg+" = mkForce "-1";
};
};
eza = {
enable = true;
git = true;
icons = true;
};
btop = {
enable = true;
catppuccin.enable = true;
};
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
systemd.user.startServices = "sd-switch";
nix.package = lib.mkForce pkgs.nixSuper;
}