Simplify Blender import, remove Rot8, standardize fastfetch import, add Teams (ew), split up environment vars, etc
This commit is contained in:
parent
19a6abfbb6
commit
d4ca164ed3
23 changed files with 68 additions and 53 deletions
15
flake.lock
generated
15
flake.lock
generated
|
@ -5,16 +5,19 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
"dir": "blender",
|
||||||
"lastModified": 1746378999,
|
"lastModified": 1746378999,
|
||||||
"narHash": "sha256-EwX7RUS3+jAM8W6CT5RbUzBSakv1OYxhzeTFUptggUI=",
|
"narHash": "sha256-aF+uC/aYR4I7VxN9s0gQG1WRDTE0Re3jAMd0qBkWjV4=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "nix-warez",
|
||||||
"rev": "85d76721132cc6631bbaa8c950d4d0f3aa4003fd",
|
"rev": "85d76721132cc6631bbaa8c950d4d0f3aa4003fd",
|
||||||
"revCount": 137,
|
"type": "github"
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.15/01969c4d-b680-7b45-a6b4-65a828e5f108/source.tar.gz?rev=85d76721132cc6631bbaa8c950d4d0f3aa4003fd&revCount=137"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"dir": "blender",
|
||||||
"url": "https://flakehub.com/f/edolstra/blender-bin/1.0.13.tar.gz"
|
"owner": "edolstra",
|
||||||
|
"repo": "nix-warez",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"blobs": {
|
"blobs": {
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
inputs.nixpkgs.follows = "unstable";
|
inputs.nixpkgs.follows = "unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
blender.url = "https://flakehub.com/f/edolstra/blender-bin/1.0.13.tar.gz";
|
blender.url = "github:edolstra/nix-warez?dir=blender";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [ ./impermanence ];
|
||||||
|
|
||||||
home.file = lib.mkIf config.home.desktop.enable {
|
home.file = lib.mkIf config.home.desktop.enable {
|
||||||
".assets/wallpapers".source = ./wallpapers;
|
".assets/wallpapers".source = ./wallpapers;
|
||||||
".assets/lockscreen".source = ./lockscreen;
|
".assets/lockscreen".source = ./lockscreen;
|
||||||
|
|
|
@ -238,7 +238,10 @@
|
||||||
|
|
||||||
# Symlinks to Librewolf
|
# Symlinks to Librewolf
|
||||||
home = {
|
home = {
|
||||||
file.".librewolf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla/firefox";
|
file = {
|
||||||
|
".librewolf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla/firefox";
|
||||||
|
".mozilla/librewolf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla/firefox";
|
||||||
|
};
|
||||||
persistence."/persist${config.home.homeDirectory}".directories = [ ".mozilla" ];
|
persistence."/persist${config.home.homeDirectory}".directories = [ ".mozilla" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.home.gaming.enable {
|
config = lib.mkIf config.home.gaming.enable {
|
||||||
home.packages = with pkgs; [
|
home = {
|
||||||
heroic
|
packages = with pkgs; [
|
||||||
prismlauncher
|
heroic
|
||||||
steam
|
prismlauncher
|
||||||
steam-run-free
|
steam
|
||||||
];
|
steam-run-free
|
||||||
|
];
|
||||||
home.persistence."/persist${config.home.homeDirectory}".directories = [
|
persistence."/persist${config.home.homeDirectory}".directories = [
|
||||||
".config/heroic"
|
".config/heroic"
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.allowUnfreePackages = [
|
nixpkgs.allowUnfreePackages = [
|
||||||
"steam"
|
"steam"
|
||||||
|
|
|
@ -1,9 +1,17 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; lib.mkIf config.home.school.enable [
|
home = lib.mkIf config.home.school.enable {
|
||||||
freerdp
|
packages = with pkgs; [
|
||||||
globalprotect-openconnect
|
freerdp
|
||||||
gpauth
|
globalprotect-openconnect
|
||||||
remmina
|
gpauth
|
||||||
];
|
remmina
|
||||||
|
teams-for-linux
|
||||||
|
];
|
||||||
|
persistence."/persist${config.home.homeDirectory}".directories = [
|
||||||
|
".config/com.yuezk.qt"
|
||||||
|
".config/remmina"
|
||||||
|
".config/teams-for-linux"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./small ];
|
|
||||||
|
|
||||||
programs.fastfetch.enable = true;
|
programs.fastfetch.enable = true;
|
||||||
xdg.configFile."fastfetch/config.jsonc".source = ./config.jsonc;
|
|
||||||
|
home.packages = with pkgs; [ (writeScriptBin "smallfetch" "fastfetch --config ~/.config/fastfetch/small.jsonc") ];
|
||||||
|
|
||||||
|
xdg.configFile."fastfetch".source = ./configs;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [ (writeScriptBin "smallfetch" "fastfetch --config ~/.config/fastfetch/small.jsonc") ];
|
|
||||||
xdg.configFile."fastfetch/small.jsonc".source = ./small.jsonc;
|
|
||||||
}
|
|
|
@ -2,5 +2,8 @@
|
||||||
{
|
{
|
||||||
programs.zoxide.enable = true;
|
programs.zoxide.enable = true;
|
||||||
|
|
||||||
home.persistence."/persist${config.home.homeDirectory}".directories = [ ".local/share/zoxide" ];
|
home = {
|
||||||
|
shellAliases.cd = "z";
|
||||||
|
persistence."/persist${config.home.homeDirectory}".directories = [ ".local/share/zoxide" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./easyeffects
|
./easyeffects
|
||||||
./impermanence
|
|
||||||
./mpd
|
./mpd
|
||||||
./playerctl
|
./playerctl
|
||||||
];
|
];
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
# Shortcuts
|
# Shortcuts
|
||||||
ff = "clear && fastfetch";
|
ff = "clear && fastfetch";
|
||||||
copycat = "wl-copy <";
|
|
||||||
myip = "curl ifconfig.co";
|
myip = "curl ifconfig.co";
|
||||||
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
|
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
./aliases
|
./aliases
|
||||||
./cursor
|
./cursor
|
||||||
./dconf
|
./dconf
|
||||||
|
./environment
|
||||||
./fonts
|
./fonts
|
||||||
./gtk
|
./gtk
|
||||||
./locale
|
./locale
|
||||||
|
|
7
modules/home/settings/environment/default.nix
Normal file
7
modules/home/settings/environment/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
home.sessionVariables = {
|
||||||
|
MANPAGER = "nvim +Man!";
|
||||||
|
NIXPKGS_ALLOW_UNFREE = 1;
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,4 +4,6 @@
|
||||||
./defaults
|
./defaults
|
||||||
./folders
|
./folders
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.preferXdgDirectories = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,5 @@
|
||||||
home = {
|
home = {
|
||||||
username = "bun";
|
username = "bun";
|
||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = "/home/${config.home.username}";
|
||||||
sessionVariables = {
|
|
||||||
LIBVIRT_DEFAULT_URI = "qemu:///system";
|
|
||||||
MANPAGER = "nvim +Man!";
|
|
||||||
NIXPKGS_ALLOW_UNFREE = 1;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
brightnessctl
|
brightnessctl
|
||||||
hyprpicker
|
hyprpicker
|
||||||
libnotify
|
libnotify
|
||||||
rot8
|
|
||||||
shotman
|
shotman
|
||||||
wdisplays
|
wdisplays
|
||||||
wl-clipboard-rs
|
wl-clipboard-rs
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
{ command = "foot -a music -T Music ncmpcpp"; }
|
{ command = "foot -a music -T Music ncmpcpp"; }
|
||||||
{ command = "foot -a sound -T Sound pulsemixer"; }
|
{ command = "foot -a sound -T Sound pulsemixer"; }
|
||||||
|
|
||||||
# Daemons and tray
|
|
||||||
{ command = "rot8"; }
|
|
||||||
|
|
||||||
# Foreground
|
# Foreground
|
||||||
{ command = "thunderbird"; }
|
{ command = "thunderbird"; }
|
||||||
{ command = "vesktop"; }
|
{ command = "vesktop"; }
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
# Communication
|
# Communication
|
||||||
"7:${config.ws.w7}" = [
|
"7:${config.ws.w7}" = [
|
||||||
{ app_id = "MiscBrowser"; }
|
{ app_id = "teams-for-linux"; }
|
||||||
{ app_id = "vesktop"; }
|
{ app_id = "vesktop"; }
|
||||||
];
|
];
|
||||||
"9:${config.ws.w9}" = [{ app_id = "thunderbird"; }];
|
"9:${config.ws.w9}" = [{ app_id = "thunderbird"; }];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
imports = [ ./user ];
|
imports = [ ./user ];
|
||||||
|
|
||||||
config = lib.mkIf config.services.nfs.server.enable {
|
config = lib.mkIf config.services.nfs.server.enable {
|
||||||
services.nfs.server.exports = "/storage *(rw,sync,no_subtree_check)";
|
services.nfs.server.exports = "/storage *(rw)";
|
||||||
networking.firewall.extraInputRules = "ip saddr { 10.0.0.0/8, 11.0.0.0/8, ${config.secrets.ips.bun} } tcp dport 2049 accept";
|
networking.firewall.extraInputRules = "ip saddr { 10.0.0.0/8, 11.0.0.0/8, ${config.secrets.ips.bun} } tcp dport 2049 accept";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,21 +30,21 @@
|
||||||
"wheel"
|
"wheel"
|
||||||
|
|
||||||
"audio"
|
"audio"
|
||||||
"video"
|
|
||||||
"render"
|
|
||||||
"input"
|
"input"
|
||||||
"disk"
|
"render"
|
||||||
|
"video"
|
||||||
|
|
||||||
"dialout"
|
"dialout"
|
||||||
|
"disk"
|
||||||
"rtkit"
|
"rtkit"
|
||||||
|
|
||||||
"kvm"
|
"kvm"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"qemu-libvirtd"
|
"qemu-libvirtd"
|
||||||
|
|
||||||
"nginx"
|
|
||||||
"minecraft"
|
"minecraft"
|
||||||
"nfsShare"
|
"nfsShare"
|
||||||
|
"nginx"
|
||||||
];
|
];
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue