mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-03 01:59:13 +01:00
Messing with things
This commit is contained in:
parent
a4b04f9438
commit
439c65a702
19
flake.nix
19
flake.nix
@ -13,6 +13,8 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
hostname = "hyprnix";
|
hostname = "hyprnix";
|
||||||
username = "zaney";
|
username = "zaney";
|
||||||
|
gitUsername = "Tyler Kelley";
|
||||||
|
gitEmail = "tylerzanekelley@gmail.com";
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config = {
|
config = {
|
||||||
@ -22,9 +24,15 @@
|
|||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
laptop = nixpkgs.lib.nixosSystem {
|
laptop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit system; inherit inputs; inherit username; inherit hostname; };
|
specialArgs = { inherit system; inherit inputs;
|
||||||
|
inherit username; inherit hostname; inherit gitUsername;
|
||||||
|
inherit gitEmail;
|
||||||
|
};
|
||||||
modules = [ ./laptop/configuration.nix
|
modules = [ ./laptop/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.extraSpecialArgs = { inherit username;
|
||||||
|
inherit gitUsername; inherit gitEmail;
|
||||||
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.${username} = import ./home.nix;
|
home-manager.users.${username} = import ./home.nix;
|
||||||
@ -32,10 +40,15 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
workstation = nixpkgs.lib.nixosSystem {
|
workstation = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit system; inherit inputs; inherit username; inherit hostname; };
|
specialArgs = { inherit system; inherit inputs;
|
||||||
|
inherit username; inherit hostname; inherit gitUsername;
|
||||||
|
inherit gitEmail;
|
||||||
|
};
|
||||||
modules = [ ./workstation/configuration.nix
|
modules = [ ./workstation/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.extraSpecialArgs = { inherit username; };
|
home-manager.extraSpecialArgs = { inherit username;
|
||||||
|
inherit gitUsername; inherit gitEmail;
|
||||||
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.${username} = import ./home.nix;
|
home-manager.users.${username} = import ./home.nix;
|
||||||
|
24
home.nix
24
home.nix
@ -1,10 +1,12 @@
|
|||||||
{ config, pkgs, username, ... }:
|
{ config, pkgs, username, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# Home Manager Settings
|
||||||
home.username = "${username}";
|
home.username = "${username}";
|
||||||
home.homeDirectory = "/home/zaney";
|
home.homeDirectory = "/home/${username}";
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
|
||||||
|
# Place Files Inside Home Directory
|
||||||
home.file.".config/zaney-stinger.mov".source = ./media/zaney-stinger.mov;
|
home.file.".config/zaney-stinger.mov".source = ./media/zaney-stinger.mov;
|
||||||
home.file.".config/pipewire/pipewire.conf".source = ./config/pipewire/pipewire.conf;
|
home.file.".config/pipewire/pipewire.conf".source = ./config/pipewire/pipewire.conf;
|
||||||
home.file.".config/neofetch/config.conf".source = ./config/neofetch/config.conf;
|
home.file.".config/neofetch/config.conf".source = ./config/neofetch/config.conf;
|
||||||
@ -32,23 +34,25 @@
|
|||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Define Settings For Xresources
|
||||||
xresources.properties = {
|
xresources.properties = {
|
||||||
"Xcursor.size" = 24;
|
"Xcursor.size" = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Install & Configure Git
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Tyler Kelley";
|
userName = "${gitUsername}";
|
||||||
userEmail = "tylerzanekelley@gmail.com";
|
userEmail = "${gitEmail}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Install Packages For The User
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neofetch lolcat cmatrix discord firefox btop libvirt
|
neofetch lolcat cmatrix discord firefox btop libvirt
|
||||||
swww polkit_gnome grim slurp lm_sensors unzip unrar gnome.file-roller
|
swww polkit_gnome grim slurp lm_sensors unzip unrar gnome.file-roller
|
||||||
libnotify swaynotificationcenter rofi-wayland imv v4l-utils
|
libnotify swaynotificationcenter rofi-wayland imv v4l-utils
|
||||||
ydotool wl-clipboard socat cowsay lsd pkg-config transmission-gtk mpv
|
ydotool wl-clipboard socat cowsay lsd pkg-config transmission-gtk mpv
|
||||||
gimp obs-studio blender kdenlive meson glibc hugo gnumake ninja go
|
gimp obs-studio blender kdenlive meson hugo gnumake ninja go
|
||||||
nodejs godot_4 rustup pavucontrol audacity zeroad xonotic
|
nodejs godot_4 rustup pavucontrol audacity zeroad xonotic
|
||||||
openra font-awesome symbola noto-fonts-color-emoji material-icons
|
openra font-awesome symbola noto-fonts-color-emoji material-icons
|
||||||
spotify
|
spotify
|
||||||
@ -59,6 +63,7 @@
|
|||||||
(import ./scripts/wallsetter.nix { inherit pkgs; })
|
(import ./scripts/wallsetter.nix { inherit pkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Configure Cursor Theme
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
x11.enable = true;
|
x11.enable = true;
|
||||||
@ -66,10 +71,14 @@
|
|||||||
name = "Bibata-Modern-Ice";
|
name = "Bibata-Modern-Ice";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable & Configure QT
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
qt.platformTheme = "gtk";
|
qt.platformTheme = "gtk";
|
||||||
qt.style.name = "adwaita-dark";
|
qt.style.name = "adwaita-dark";
|
||||||
qt.style.package = pkgs.adwaita-qt;
|
qt.style.package = pkgs.adwaita-qt;
|
||||||
|
|
||||||
|
# Theme GTK
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
@ -100,6 +109,8 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Create XDG Dirs
|
||||||
xdg = {
|
xdg = {
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -107,6 +118,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Configure Bash
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
@ -131,6 +143,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Configure Kitty
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.kitty;
|
package = pkgs.kitty;
|
||||||
@ -182,6 +195,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Configure & Theme Waybar
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.waybar;
|
package = pkgs.waybar;
|
||||||
|
Loading…
Reference in New Issue
Block a user