removed unstable wike/roblox to prevent compiling

This commit is contained in:
Danilo Reyes 2023-05-13 11:14:12 -06:00
parent 3ee1ae5b84
commit 873979aa38
2 changed files with 624 additions and 592 deletions

View File

@ -3,18 +3,24 @@ let
VERSION = "22.11"; VERSION = "22.11";
# HOME-MANAGER = builtins.fetchTarball # HOME-MANAGER = builtins.fetchTarball
# "https://github.com/nix-community/home-manager/archive/master.tar.gz"; # "https://github.com/nix-community/home-manager/archive/master.tar.gz";
UNSTABLE_TARBALL = UNSTABLE_TARBALL = builtins.fetchTarball
builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master"; https://github.com/nixos/nixpkgs/tarball/master;
unstable = import UNSTABLE_TARBALL { config = config.nixpkgs.config; }; unstable = import UNSTABLE_TARBALL {
nextcloud_scrapsync = pkgs.writeScriptBin "nextcloud_scrapsync" config = config.nixpkgs.config;
(builtins.readFile ./scripts/nextcloud_scrapsync.sh); };
manage_library = pkgs.writeScriptBin "manage_library" nextcloud_scrapsync = pkgs.writeScriptBin
(builtins.readFile ./scripts/manage_library.fish); "nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
ffmpeg4discord = pkgs.writeScriptBin "ffmpeg4discord" manage_library = pkgs.writeScriptBin
(builtins.readFile ./scripts/ffmpeg4discord.py); "manage_library" (builtins.readFile ./scripts/manage_library.fish);
in { # Remember to close this bracket at the end of the document ffmpeg4discord = pkgs.writeScriptBin
"ffmpeg4discord" (builtins.readFile ./scripts/ffmpeg4discord.py);
in
{ # Remember to close this bracket at the end of the document
imports = [ ./hardware-configuration.nix <home-manager/nixos> ]; imports = [
./hardware-configuration.nix
<home-manager/nixos>
];
networking.hostName = "workstation"; networking.hostName = "workstation";
@ -25,7 +31,9 @@ in { # Remember to close this bracket at the end of the document
i18n = { i18n = {
defaultLocale = "en_CA.UTF-8"; defaultLocale = "en_CA.UTF-8";
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; }; extraLocaleSettings = {
LC_MONETARY = "es_MX.UTF-8";
};
}; };
console = { console = {
font = "Lat2-Terminus16"; font = "Lat2-Terminus16";
@ -54,7 +62,8 @@ in { # Remember to close this bracket at the end of the document
gnome-connections gnome-connections
# gnome-shell-extensions # gnome-shell-extensions
baobab baobab
]) ++ (with pkgs.gnome; [ ])
++ (with pkgs.gnome; [
# totem # totem
gedit gedit
gnome-music gnome-music
@ -89,13 +98,18 @@ in { # Remember to close this bracket at the end of the document
# noPass = true; # noPass = true;
# }]; # }];
nixpkgs.config = { allowUnfree = true; }; nixpkgs.config = {
allowUnfree = true;
};
users.users.jawz = { users.users.jawz = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "docker" "scanner" "lp" ]; extraGroups = [ "wheel" "networkmanager" "docker" "scanner" "lp" ];
initialPassword = "password"; initialPassword = "password";
shell = pkgs.fish; shell = pkgs.fish;
openssh = {
authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES" ];
};
packages = (with pkgs; [ packages = (with pkgs; [
blender # cgi animation and sculpting blender # cgi animation and sculpting
@ -110,7 +124,7 @@ in { # Remember to close this bracket at the end of the document
unstable.gimp # the coolest bestest art program to never exist unstable.gimp # the coolest bestest art program to never exist
lutris # game/emulator manager lutris # game/emulator manager
unstable.grapejuice # roblox manager # unstable.grapejuice # roblox manager
minecraft # minecraft official launcher minecraft # minecraft official launcher
parsec-bin # remote gaming with friends parsec-bin # remote gaming with friends
unstable.protonup-qt # update proton-ge unstable.protonup-qt # update proton-ge
@ -119,7 +133,7 @@ in { # Remember to close this bracket at the end of the document
calibre # ugly af eBook library manager calibre # ugly af eBook library manager
foliate # gtk eBook reader foliate # gtk eBook reader
gnome-feeds # feed reader, maybe will replace with nextcloud gnome-feeds # feed reader, maybe will replace with nextcloud
unstable.wike # gtk wikipedia wow! # unstable.wike # gtk wikipedia wow!
unstable.furtherance # I made this one tehee track time utility unstable.furtherance # I made this one tehee track time utility
gnome.simple-scan # scanner gnome.simple-scan # scanner
@ -177,6 +191,7 @@ in { # Remember to close this bracket at the end of the document
torrenttools # create torrent files from the terminal! torrenttools # create torrent files from the terminal!
lm_sensors # for extension, displays cpu temp lm_sensors # for extension, displays cpu temp
# My own scripts # My own scripts
nextcloud_scrapsync nextcloud_scrapsync
ffmpeg4discord ffmpeg4discord
@ -237,17 +252,12 @@ in { # Remember to close this bracket at the end of the document
# Fonts # Fonts
(nerdfonts.override { (nerdfonts.override {
fonts = [ fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
"Agave"
"CascadiaCode"
"SourceCodePro"
"Ubuntu"
"FiraCode"
"Iosevka"
];
}) })
symbola symbola
(papirus-icon-theme.override { color = "adwaita"; }) (papirus-icon-theme.override {
color = "adwaita";
})
]) ++ (with pkgs.python310Packages; [ ]) ++ (with pkgs.python310Packages; [
black # Python code formatter black # Python code formatter
@ -291,8 +301,7 @@ in { # Remember to close this bracket at the end of the document
markdownlint-cli markdownlint-cli
prettier prettier
pnpm pnpm
]); ]); }; # <--- end of package list
}; # <--- end of package list
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -309,15 +318,12 @@ in { # Remember to close this bracket at the end of the document
enable = true; enable = true;
# useBabelfish = true; This setting doens't work from inside home-manager # useBabelfish = true; This setting doens't work from inside home-manager
shellAliases = { shellAliases = {
ls = ls = "exa --icons --group-directories-first --no-permissions --no-user --no-time";
"exa --icons --group-directories-first --no-permissions --no-user --no-time";
edit = "emacsclient -t"; edit = "emacsclient -t";
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)"; comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)"; gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
open_gallery = open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
"open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)"; unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
unique_extensions =
"find . -type f | string match -r '([^./]+)$' | sort -u";
cp = "cp -i"; cp = "cp -i";
mv = "mv -i"; mv = "mv -i";
mkdir = "mkdir -p"; mkdir = "mkdir -p";
@ -384,8 +390,7 @@ in { # Remember to close this bracket at the end of the document
config = { config = {
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ]; # map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
pager = "less -FR"; pager = "less -FR";
theme = "base16"; theme = "base16"; };
};
}; };
git = { git = {
enable = true; enable = true;
@ -418,8 +423,7 @@ in { # Remember to close this bracket at the end of the document
}; };
configFile = { configFile = {
"wgetrc".source = ./dotfiles/wget/wgetrc; "wgetrc".source = ./dotfiles/wget/wgetrc;
"configstore/update-notifier-npm-check.json".source = "configstore/update-notifier-npm-check.json".source = ./dotfiles/npm/update-notifier-npm-check.json;
./dotfiles/npm/update-notifier-npm-check.json;
"npm/npmrc".source = ./dotfiles/npm/npmrc; "npm/npmrc".source = ./dotfiles/npm/npmrc;
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json; "gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
"htop/htoprc".source = ./dotfiles/htop/htoprc; "htop/htoprc".source = ./dotfiles/htop/htoprc;
@ -505,7 +509,9 @@ in { # Remember to close this bracket at the end of the document
olderThan = 10; olderThan = 10;
interval = "4:00"; interval = "4:00";
}; };
parityFiles = [ "/mnt/parity/snapraid.parity" ]; parityFiles = [
"/mnt/parity/snapraid.parity"
];
extraConfig = '' extraConfig = ''
autosave 50 autosave 50
''; '';
@ -537,7 +543,9 @@ in { # Remember to close this bracket at the end of the document
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
}; };
geary = { enable = true; }; geary = {
enable = true;
};
steam = { steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
@ -556,11 +564,25 @@ in { # Remember to close this bracket at the end of the document
fstrim.enable = true; fstrim.enable = true;
btrfs.autoScrub = { btrfs.autoScrub = {
enable = true; enable = true;
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ]; fileSystems = [
"/"
"/mnt/disk1"
"/mnt/disk2"
];
}; };
mediatomb.enable = true;
openssh = { openssh = {
enable = true; enable = true;
ports = [ 25152 ]; ports = [ 25152 ];
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
startWhenNeeded = true;
listenAddresses = [
{
addr = "0.0.0.0";
port = 25152;
}
];
}; };
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; # udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
emacs = { emacs = {
@ -581,20 +603,24 @@ in { # Remember to close this bracket at the end of the document
environment = { environment = {
FILE = "/home/jawz/Development/Docker/docker-compose.yml"; FILE = "/home/jawz/Development/Docker/docker-compose.yml";
}; };
path = [ pkgs.docker-compose ]; path = [
pkgs.docker-compose
];
serviceConfig = { serviceConfig = {
Restart = "on-failure"; Restart = "on-failure";
# Type = "simple"; # Type = "simple";
RestartSec = 30; RestartSec = 30;
ExecStart = ExecStart = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} up --remove-orphans";
"${pkgs.docker-compose}/bin/docker-compose -f \${FILE} up --remove-orphans";
ExecStop = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} down"; ExecStop = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} down";
}; };
}; };
"nextcloud_scrapsync" = { "nextcloud_scrapsync" = {
description = "Sync scrapped files with nextcloud"; description = "Sync scrapped files with nextcloud";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ pkgs.bash nextcloud_scrapsync ]; path = [
pkgs.bash
nextcloud_scrapsync
];
serviceConfig = { serviceConfig = {
RestartSec = 30; RestartSec = 30;
ExecStart = "${nextcloud_scrapsync}/bin/nextcloud_scrapsync"; ExecStart = "${nextcloud_scrapsync}/bin/nextcloud_scrapsync";
@ -624,7 +650,9 @@ in { # Remember to close this bracket at the end of the document
restartIfChanged = true; restartIfChanged = true;
description = "Run hentai@home server"; description = "Run hentai@home server";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ pkgs.HentaiAtHome ]; path = [
pkgs.HentaiAtHome
];
serviceConfig = { serviceConfig = {
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 30; RestartSec = 30;
@ -637,7 +665,10 @@ in { # Remember to close this bracket at the end of the document
restartIfChanged = true; restartIfChanged = true;
description = "Run the manage library fish script"; description = "Run the manage library fish script";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ pkgs.fish manage_library ]; path = [
pkgs.fish
manage_library
];
serviceConfig = { serviceConfig = {
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 30; RestartSec = 30;

View File

@ -269,7 +269,7 @@ anticipated, most everything seems to run seamlessly.
#+begin_src nix #+begin_src nix
lutris # game/emulator manager lutris # game/emulator manager
unstable.grapejuice # roblox manager # unstable.grapejuice # roblox manager
minecraft # minecraft official launcher minecraft # minecraft official launcher
parsec-bin # remote gaming with friends parsec-bin # remote gaming with friends
unstable.protonup-qt # update proton-ge unstable.protonup-qt # update proton-ge
@ -278,12 +278,13 @@ unstable.protonup-qt # update proton-ge
*** PRODUCTIVITY *** PRODUCTIVITY
This is the section where the apps that help me be productive come, a lot of This is the section where the apps that help me be productive come, a lot of
this are not used as often as I wish… this are not used as often as I wish…
#+begin_src nix #+begin_src nix
libreoffice-fresh # office, but based libreoffice-fresh # office, but based
calibre # ugly af eBook library manager calibre # ugly af eBook library manager
foliate # gtk eBook reader foliate # gtk eBook reader
gnome-feeds # feed reader, maybe will replace with nextcloud gnome-feeds # feed reader, maybe will replace with nextcloud
unstable.wike # gtk wikipedia wow! # unstable.wike # gtk wikipedia wow!
unstable.furtherance # I made this one tehee track time utility unstable.furtherance # I made this one tehee track time utility
gnome.simple-scan # scanner gnome.simple-scan # scanner
#+end_src #+end_src