host/home: add 3d printing, add extra module for jan, disable nas user

This commit is contained in:
Dmitriy Pleshevskiy 2023-11-13 18:26:20 +03:00
parent 0e86974b3a
commit 25ebee1ed0
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
5 changed files with 40 additions and 10 deletions

View file

@ -1,4 +1,11 @@
{ config, pkgs, lib, inputs, extraHomeModule ? null, ... }:
{ config
, pkgs
, lib
, inputs
, extraHomeModule ? null
, extraJanHomeModule ? null
, ...
}:
let
@ -34,6 +41,7 @@ in
inputs.wired.homeManagerModules.default
./home.nix
extraHomeModule
extraJanHomeModule
];
home.stateVersion = config.system.stateVersion;

View file

@ -45,8 +45,6 @@
hunspellDicts.ru_RU
hunspellDicts.en_US
kicad-small
procs
bottom
asciinema # record the terminal
@ -56,14 +54,12 @@
# browsers
# a fork of firefox, focused on privacy, security and freedom
(librewolf.override {
extraNativeMessagingHosts = [ passff-host ];
nativeMessagingHosts = [ passff-host ];
})
# ungoogled-chromium
tor-browser-bundle-bin
woodpecker-cli
unciv
];
home.file = {

View file

@ -1,4 +1,10 @@
{ config, pkgs, lib, inputs, extraHomeModule ? null, ... }:
{ config
, pkgs
, lib
, inputs
, extraHomeModule ? null
, ...
}:
{
nixpkgs.overlays = lib.mkAfter [

View file

@ -14,13 +14,26 @@ in
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
# ../../home/users/nas
];
extraHomeModule = { ... }: {
extraHomeModule = { lib, pkgs, ... }: {
local.polybar.wifiDevice = "wlp3s0";
# local.alacritty.fontSize = 8.0;
local.wezterm.fontSize = 10.0;
};
specialArgs = {
extraJanHomeModule = { lib, pkgs, ... }: {
home.packages = lib.mkAfter (with pkgs.unstable; [
# 3d programs
blender
cura
# electronics
kicad-small
]);
};
};
};
@ -32,7 +45,7 @@ in
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
# ../../home/users/nas
];
extraHomeModule = { ... }: {

View file

@ -114,4 +114,11 @@
};
services.transmission.enable = true;
# 3D printing
services.octoprint = {
enable = true;
port = 33002;
plugins = ps: [ ps.stlviewer ];
};
}