pokeshell and some scanner/printer settings
This commit is contained in:
parent
16bff540f8
commit
fd0dcde8f3
@ -3,12 +3,18 @@ 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 {
|
||||||
in { # Remember to close this bracket at the end of the document
|
config = config.nixpkgs.config;
|
||||||
|
};
|
||||||
|
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";
|
||||||
|
|
||||||
@ -19,7 +25,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";
|
||||||
@ -46,7 +54,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
|
||||||
@ -81,11 +90,13 @@ 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" ];
|
extraGroups = [ "wheel" "networkmanager" "docker" "scanner" "lp" ];
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
@ -94,7 +105,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
godot # game development
|
godot # game development
|
||||||
unstable.gdtoolkit # gdscript language server
|
unstable.gdtoolkit # gdscript language server
|
||||||
krita # art to your heart desire!
|
krita # art to your heart desire!
|
||||||
drawpile # arty party with friends!!
|
# drawpile # arty party with friends!!
|
||||||
mypaint # not the best art program
|
mypaint # not the best art program
|
||||||
mypaint-brushes # but it's got some
|
mypaint-brushes # but it's got some
|
||||||
mypaint-brushes1 # nice damn brushes
|
mypaint-brushes1 # nice damn brushes
|
||||||
@ -112,6 +123,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
foliate # gtk eBook reader
|
foliate # gtk eBook reader
|
||||||
gnome.simple-scan # document scanner
|
gnome.simple-scan # document scanner
|
||||||
gnome-feeds # feed reader, maybe will replace with nextcloud
|
gnome-feeds # feed reader, maybe will replace with nextcloud
|
||||||
|
unstable.wike # gtk wikipedia wow!
|
||||||
|
|
||||||
# sequeler # friendly SQL client
|
# sequeler # friendly SQL client
|
||||||
blanket # background noise
|
blanket # background noise
|
||||||
@ -166,7 +178,6 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
xdg-ninja # help declutter $HOME
|
xdg-ninja # help declutter $HOME
|
||||||
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
|
||||||
# unstable.pokemon-colorscripts-mac # pokemon on your terminal!
|
|
||||||
|
|
||||||
# required by doom emacs, but still are rather useful.
|
# required by doom emacs, but still are rather useful.
|
||||||
fd # modern find, faster searches
|
fd # modern find, faster searches
|
||||||
@ -223,18 +234,13 @@ 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
|
||||||
@ -270,8 +276,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;
|
||||||
|
|
||||||
@ -288,15 +293,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";
|
||||||
@ -319,7 +321,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
pokemon-colorscripts -r
|
pokemon-colorscripts -r --no-title
|
||||||
end
|
end
|
||||||
# Lists
|
# Lists
|
||||||
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
||||||
@ -363,8 +365,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;
|
||||||
@ -397,8 +398,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;
|
||||||
@ -485,7 +485,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
|
||||||
'';
|
'';
|
||||||
@ -513,7 +515,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;
|
||||||
@ -526,7 +530,11 @@ 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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -551,13 +559,14 @@ 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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -568,7 +577,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 = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ pkgs.HentaiAtHome ];
|
path = [
|
||||||
|
pkgs.HentaiAtHome
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
|
|||||||
@ -38,7 +38,6 @@
|
|||||||
- [X] furtherance upgrade
|
- [X] furtherance upgrade
|
||||||
- [-] zap init
|
- [-] zap init
|
||||||
- [-] font-downloader
|
- [-] font-downloader
|
||||||
- [ ] pokemon-colorscripts
|
|
||||||
- [ ] SaveDesktop (flathub)
|
- [ ] SaveDesktop (flathub)
|
||||||
- [ ] gelata
|
- [ ] gelata
|
||||||
- [ ] pokeshell
|
- [ ] pokeshell
|
||||||
@ -242,7 +241,7 @@ as a dotfile and service manager.
|
|||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
users.users.jawz = {
|
users.users.jawz = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" "docker" ];
|
extraGroups = [ "wheel" "networkmanager" "docker" "scanner" "lp" ];
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
@ -261,7 +260,7 @@ blender # cgi animation and sculpting
|
|||||||
godot # game development
|
godot # game development
|
||||||
unstable.gdtoolkit # gdscript language server
|
unstable.gdtoolkit # gdscript language server
|
||||||
krita # art to your heart desire!
|
krita # art to your heart desire!
|
||||||
drawpile # arty party with friends!!
|
# drawpile # arty party with friends!!
|
||||||
mypaint # not the best art program
|
mypaint # not the best art program
|
||||||
mypaint-brushes # but it's got some
|
mypaint-brushes # but it's got some
|
||||||
mypaint-brushes1 # nice damn brushes
|
mypaint-brushes1 # nice damn brushes
|
||||||
@ -291,6 +290,7 @@ calibre # ugly af eBook library manager
|
|||||||
foliate # gtk eBook reader
|
foliate # gtk eBook reader
|
||||||
gnome.simple-scan # document scanner
|
gnome.simple-scan # document scanner
|
||||||
gnome-feeds # feed reader, maybe will replace with nextcloud
|
gnome-feeds # feed reader, maybe will replace with nextcloud
|
||||||
|
unstable.wike # gtk wikipedia wow!
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** MISC
|
*** MISC
|
||||||
@ -367,7 +367,6 @@ tree-sitter # code parsing, required by Doom emacs
|
|||||||
xdg-ninja # help declutter $HOME
|
xdg-ninja # help declutter $HOME
|
||||||
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
|
||||||
# unstable.pokemon-colorscripts-mac # pokemon on your terminal!
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** DEVELOPMENT PACKAGES
|
** DEVELOPMENT PACKAGES
|
||||||
@ -571,7 +570,7 @@ programs.fish = {
|
|||||||
|
|
||||||
#+begin_src fish
|
#+begin_src fish
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
pokemon-colorscripts -r
|
pokemon-colorscripts -r --no-title
|
||||||
end
|
end
|
||||||
# Lists
|
# Lists
|
||||||
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
||||||
|
|||||||
@ -131,6 +131,7 @@
|
|||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
sane.enable = true;
|
||||||
cpu.intel.updateMicrocode = lib.mkDefault true;
|
cpu.intel.updateMicrocode = lib.mkDefault true;
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
# huion driver
|
# huion driver
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user