Updated variables to booleans where it makes since

This commit is contained in:
Tyler Kelley 2024-02-06 01:27:12 -06:00
parent ccf31c5fb0
commit 601ae8ddcd
9 changed files with 31 additions and 22 deletions

View File

@ -3,20 +3,19 @@
{
imports = [
# Enable &/ Configure Programs
./style1-waybar.nix
./style2-waybar.nix
./swaync.nix
./swaylock.nix
./starship.nix
./neofetch.nix
./hyprland.nix
./kitty.nix
./rofi.nix
./bash.nix
./gtk-qt.nix
# Install Programs & Scripts For User
./hyprland.nix
./kdenlive.nix
./kitty.nix
./neofetch.nix
./packages.nix
./rofi.nix
./starship.nix
./style1-waybar.nix
./style2-waybar.nix
./swaylock.nix
./swaync.nix
# Place Home Files Like Pictures
./files.nix

View File

@ -83,7 +83,7 @@ in with lib; {
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
${if borderAnim == "on" then ''
${if borderAnim == true then ''
animation = borderangle, 1, 30, liner, loop
'' else ''
''}

8
config/home/kdenlive.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs, config, lib, ... }:
let inherit (import ../../options.nix) kdenlive; in
lib.mkIf (kdenlive == true) {
home.packages = with pkgs; [
pkgs.kdenlive
];
}

View File

@ -8,7 +8,7 @@ in {
home.packages = with pkgs; [
pkgs."${browser}" discord libvirt swww grim slurp gnome.file-roller
swaynotificationcenter rofi-wayland imv transmission-gtk mpv
gimp obs-studio blender-hip kdenlive godot_4 rustup audacity
gimp obs-studio blender-hip godot_4 rustup audacity
font-awesome spotify swayidle neovide pavucontrol
element-desktop swaylock
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })

View File

@ -1,6 +1,6 @@
{ config, lib, ... }:
let inherit (import ../../options.nix) flatpak; in
lib.mkIf ("${flatpak}" == "on") {
lib.mkIf (flatpak == true) {
services.flatpak.enable = true;
}

View File

@ -1,6 +1,6 @@
{ config, lib, ... }:
let inherit (import ../../options.nix) localHWClock; in
lib.mkIf ("${localHWClock}" == "on") {
lib.mkIf (localHWClock == true) {
time.hardwareClockInLocalTime = true;
}

View File

@ -1,7 +1,7 @@
{ config, lib, ... }:
let inherit (import ../../options.nix) nfs nfsMountPoint nfsDevice; in
lib.mkIf ("${nfs}" == "on") {
lib.mkIf (nfs == true) {
fileSystems."${nfsMountPoint}" = {
device = "${nfsDevice}";
fsType = "nfs";

View File

@ -1,6 +1,6 @@
{ config, lib, options, ... }:
let inherit (import ../../options.nix) ntp; in
lib.mkIf ("${ntp}" == "on") {
lib.mkIf (ntp == true) {
networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
}

View File

@ -8,7 +8,7 @@
gitEmail = "tylerzanekelley@gmail.com";
theme = "rose-pine";
waybarStyle = "style2"; # can be style1-2
borderAnim = "on"; # anything other than on disables anim borders in Hyprland
borderAnim = true; # anything other than on disables anim borders in Hyprland
browser = "firefox";
wallpaperGit = "https://gitlab.com/Zaney/my-wallpapers.git";
wallpaperDir = "/home/zaney/Pictures/Wallpapers";
@ -25,11 +25,13 @@
# Optional Settings
intel-bus-id = "PCI:0:2:0";
nvidia-bus-id = "PCI:14:0:0";
nfs = "off";
nfs = false;
nfsMountPoint = "/mnt/nas";
nfsDevice = "nas:/volume1/nas";
localHWClock = "off";
ntp = "on";
flatpak = "on";
localHWClock = false;
ntp = true;
flatpak = false;
kdenlive = true;
blender = true;
}