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