mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
cleaned up flake
condensed and cleaned up home-manager configuration moved nix settings to nix.nix (nice name i know) moved all shell configuration to shell.nix moved default package exclusion to packages.nix switched to nitch from neofetch moved font from overlay removed almost pointless librewolf home-manager configuration changed wallpaper
This commit is contained in:
parent
6f6302e27a
commit
b2af978996
19 changed files with 154 additions and 273 deletions
|
|
@ -1,87 +0,0 @@
|
|||
print_info() {
|
||||
info title
|
||||
info underline
|
||||
info "OS" distro
|
||||
info "Kernel" kernel
|
||||
info "Uptime" uptime
|
||||
info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "WM" wm
|
||||
info "WM Theme" wm_theme
|
||||
info "Theme" theme
|
||||
info "Icons" icons
|
||||
info "Terminal" term
|
||||
info "CPU" cpu
|
||||
info "GPU" gpu
|
||||
info "Memory" memory
|
||||
info "Disk" disk
|
||||
info cols
|
||||
}
|
||||
title_fqdn="off"
|
||||
kernel_shorthand="on"
|
||||
distro_shorthand="tiny"
|
||||
os_arch="off"
|
||||
uptime_shorthand="tiny"
|
||||
memory_percent="on"
|
||||
memory_unit="gib"
|
||||
package_managers="tiny"
|
||||
shell_path="off"
|
||||
shell_version="off"
|
||||
speed_type="bios_limit"
|
||||
speed_shorthand="on"
|
||||
cpu_brand="off"
|
||||
cpu_speed="off"
|
||||
cpu_cores="off"
|
||||
cpu_temp="C"
|
||||
gpu_brand="off"
|
||||
gpu_type="all"
|
||||
refresh_rate="off"
|
||||
gtk_shorthand="on"
|
||||
gtk2="off"
|
||||
gtk3="on"
|
||||
public_ip_host="http://ident.me"
|
||||
public_ip_timeout=2
|
||||
local_ip_interface=('auto')
|
||||
de_version="off"
|
||||
disk_show=('/')
|
||||
disk_subtitle="dir"
|
||||
disk_percent="on"
|
||||
music_player="auto"
|
||||
song_format="%artist% - %album% - %title%"
|
||||
song_shorthand="off"
|
||||
mpc_args=()
|
||||
colors=(distro)
|
||||
bold="on"
|
||||
underline_enabled="on"
|
||||
underline_char="-"
|
||||
separator=":"
|
||||
block_range=(0 15)
|
||||
color_blocks="on"
|
||||
block_width=3
|
||||
block_height=1
|
||||
col_offset="auto"
|
||||
bar_char_elapsed="-"
|
||||
bar_char_total="="
|
||||
bar_border="on"
|
||||
bar_length=15
|
||||
bar_color_elapsed="distro"
|
||||
bar_color_total="distro"
|
||||
memory_display="on"
|
||||
battery_display="on"
|
||||
disk_display="on"
|
||||
image_backend="pixterm"
|
||||
image_source="auto"
|
||||
ascii_distro="auto"
|
||||
ascii_colors=(distro)
|
||||
ascii_bold="on"
|
||||
image_loop="off"
|
||||
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||
crop_mode="normal"
|
||||
crop_offset="center"
|
||||
image_size="auto"
|
||||
catimg_size="2"
|
||||
gap=3
|
||||
yoffset=0
|
||||
xoffset=0
|
||||
background_color=
|
||||
stdout="off"
|
||||
41
home-manager/default.nix
Normal file
41
home-manager/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
settings,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
helperfunc = args: (lib.lists.forEach args (m: ./. + ("/" + m + ".nix")));
|
||||
in {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = false;
|
||||
extraSpecialArgs = {inherit inputs settings;};
|
||||
users = {
|
||||
${settings.username} = {
|
||||
imports =
|
||||
helperfunc
|
||||
[
|
||||
"theme"
|
||||
"spicetify"
|
||||
];
|
||||
xsession.numlock.enable = true;
|
||||
home = {
|
||||
homeDirectory = "/home/${settings.username}";
|
||||
stateVersion = settings.version;
|
||||
};
|
||||
};
|
||||
root = {
|
||||
imports =
|
||||
helperfunc
|
||||
[
|
||||
"theme"
|
||||
];
|
||||
home = {
|
||||
username = "root";
|
||||
homeDirectory = "/root";
|
||||
stateVersion = settings.version;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
settings,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = let
|
||||
modules = [
|
||||
"librewolf"
|
||||
"theme"
|
||||
"spicetify"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
m:
|
||||
./. + ("/" + m + ".nix")
|
||||
);
|
||||
xsession.numlock.enable = true;
|
||||
home = {
|
||||
homeDirectory = "/home/${settings.username}";
|
||||
stateVersion = settings.version;
|
||||
file = {
|
||||
".background-image".source = ../images/nix-stars.png;
|
||||
".config" = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
programs = {
|
||||
librewolf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"webgl.disabled" = true;
|
||||
"media.peerconnection.ice.no_host" = false;
|
||||
"browser.sessionstore.resume_from_crash" = false;
|
||||
"security.OCSP.require" = false;
|
||||
"network.dns.disableIPv6" = true;
|
||||
"privacy.resistFingerprinting" = true;
|
||||
"privacy.resistFingerprinting.letterboxing" = true;
|
||||
"privacy.clearOnShutdown.history" = true;
|
||||
"privacy.clearOnShutdown.downloads" = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
settings,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = let
|
||||
modules = [
|
||||
"theme"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
m:
|
||||
./. + ("/" + m + ".nix")
|
||||
);
|
||||
home = {
|
||||
username = "root";
|
||||
homeDirectory = "/root";
|
||||
stateVersion = settings.version;
|
||||
file = {
|
||||
".config/neofetch/config.conf" = {
|
||||
source = ./config/neofetch/config.conf;
|
||||
recursive = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
pkgs,
|
||||
spicetify-nix,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
|
||||
sp-nix = inputs.spicetify-nix;
|
||||
spicePkgs = sp-nix.packages.${pkgs.system}.default;
|
||||
in {
|
||||
imports = [spicetify-nix.homeManagerModule];
|
||||
imports = [sp-nix.homeManagerModule];
|
||||
programs.spicetify = {
|
||||
spotifyPackage = pkgs.spotify-unwrapped;
|
||||
spicetifyPackage = pkgs.spicetify-cli;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue