This commit is contained in:
Hadi
2024-10-06 18:49:52 +02:00
parent 23dcfd5290
commit 905cc9a885
75 changed files with 326 additions and 1325 deletions

View File

@@ -1,64 +1,29 @@
{ config, pkgs, ... }: {
{ config, ... }: {
imports = [
../modules/fonts.nix
../modules/nvidia.nix
../modules/prime.nix
../modules/xorg.nix
../modules/zsh.nix
../modules/tuigreet.nix
../modules/auto-upgrade.nix
../modules/timezone.nix
../modules/usb.nix
# ../modules/systemd-boot.nix
../modules/grub.nix
../modules/users.nix
../modules/audio.nix
../modules/bluetooth.nix
../modules/tailscale.nix
../modules/nix.nix
../modules/network-manager.nix
../modules/home-manager.nix
../modules/power-profiles.nix
../modules/utils.nix
../modules/gvfs.nix
# ../modules/ovpn.nix
../../nixos/audio.nix
../../nixos/auto-upgrade.nix
../../nixos/bluetooth.nix
../../nixos/fonts.nix
../../nixos/home-manager.nix
../../nixos/network-manager.nix
../../nixos/nix.nix
../../nixos/nvidia.nix
../../nixos/prime.nix
../../nixos/systemd-boot.nix
../../nixos/timezone.nix
../../nixos/tuigreet.nix
../../nixos/users.nix
../../nixos/utils.nix
../../nixos/xdg-portal.nix
../../nixos/variables-config.nix
../../themes/nixy.nix
./hardware-configuration.nix
./variables.nix
];
home-manager.users."${config.var.username}" = import ./home.nix;
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
fonts = {
monospace = {
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
name = "JetBrains Mono Nerd Font";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
};
targets.nixvim.transparentBackground = {
main = true;
signColumn = true;
};
polarity = "dark";
image = ../../home/wallpapers/nix.png;
};
# Don't touch this
system.stateVersion = "24.05";
}

View File

@@ -18,8 +18,7 @@
# System (Desktop environment like stuff)
../../home/system/hyprland
# ../../home/system/gtk
../../home/system/wlogout
../../home/system/gtk
../../home/system/wofi
../../home/system/batsignal
../../home/system/zathura

View File

@@ -1,5 +1,5 @@
{ config, ... }: {
imports = [ ../modules/variables-config.nix ];
imports = [ ../../nixos/variables-config.nix ];
config.var = {
hostname = "nixy";
@@ -27,16 +27,23 @@
# change the sops configuration if you want to enable that:
sops = true;
# Enable tailscale
tailscale = true;
# theme = import ../themes/nixy.nix; # select your theme here
theme = {
rounding = 15;
gaps-in = 10;
gaps-out = 10 * 2;
active-opacity = 1;
inactive-opacity = 0.89;
blur = true;
border-size = 3;
animation-speed = "fast"; # "fast" | "medium" | "slow"
fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
# USBGuard
# If usbguard enabled: set yours pref USB devices (change {id} to your trusted USB device), use `lsusb` command (from usbutils package) to get list
# of all connected USB devices including integrated devices like camera, bluetooth, wifi, etc. with their IDs or just disable `usbguard`
# allow id {id} # device 1...
usbguard = false;
usbguardRules = "";
theme = import ../themes/nixy.nix; # select your theme here
bar = {
transparent = false;
floating = false;
font-size = 16;
};
};
};
}