Add home-conf to kvm-vm
This commit is contained in:
parent
2de8b412a0
commit
ee625d0191
8 changed files with 46 additions and 19 deletions
|
@ -3,6 +3,5 @@
|
|||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
home.homeDirectory = "/home/${config.home.username}";
|
||||
xdg.enable = true;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ in
|
|||
libsForQt5.kdeconnect-kde
|
||||
libsForQt5.plasma-vault
|
||||
libsForQt5.plasma-browser-integration
|
||||
neofetch
|
||||
nextcloud-client
|
||||
onlyoffice-bin
|
||||
protonup-qt
|
||||
|
|
|
@ -203,9 +203,10 @@ in
|
|||
gcc
|
||||
imagemagick
|
||||
libtool
|
||||
nodejs_20
|
||||
neofetch
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
nodejs_20
|
||||
pandoc
|
||||
python311Full
|
||||
rcm
|
||||
|
|
|
@ -9,6 +9,16 @@
|
|||
# TODO allow primary/node config option to listen/send metrics to central location
|
||||
services.netdata = {
|
||||
enable = true;
|
||||
package = pkgs.unstable-os.netdata;
|
||||
python = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = ps: [
|
||||
ps.psycopg2
|
||||
ps.docker
|
||||
ps.dnspython
|
||||
];
|
||||
};
|
||||
|
||||
config = {
|
||||
global = {
|
||||
|
@ -26,6 +36,9 @@
|
|||
"dbengine tier 2 multihost disk space MB" = 512;
|
||||
"cleanup obsolete charts after secs" = 600;
|
||||
};
|
||||
plugins = {
|
||||
"go.d" = "yes";
|
||||
};
|
||||
ml = {
|
||||
# enable machine learning
|
||||
"enabled" = "yes";
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
, pkgs
|
||||
, modulesPath
|
||||
, lib
|
||||
, inputs
|
||||
, system
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -31,8 +33,6 @@
|
|||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
netmaker
|
||||
];
|
||||
|
@ -72,12 +72,6 @@
|
|||
isNormalUser = true;
|
||||
description = "reopen5194";
|
||||
extraGroups = [ "docker" "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
kate
|
||||
emacs
|
||||
# thunderbird
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4fBDj1/He/uimO97RgjGWZLAimTrLmIlYS2ekD73GC tristan@arch-pulse"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDP8ztBIgQsYh7LefSKtuDRYDWNheZWbmIr51T/Np/jc tristand@nixos-pulse"
|
||||
|
@ -85,6 +79,19 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMuH8L7mQDg86uJME6jndOu4niwLMASuJKpdbJU8Hfet tristan+desktop@vault81.de"
|
||||
];
|
||||
};
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
users.reopen5194 = import ../../users/admin-thin.nix {
|
||||
username = "reopen5194";
|
||||
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
inherit inputs;
|
||||
inherit system;
|
||||
inherit lib;
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, config
|
||||
, inputs
|
||||
, system
|
||||
, username
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -14,9 +15,12 @@
|
|||
../home-mods/virt
|
||||
];
|
||||
|
||||
config.home = {
|
||||
username = "tristand";
|
||||
config = {
|
||||
home = {
|
||||
username = username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
stateVersion = "23.05";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,20 +2,20 @@
|
|||
, config
|
||||
, inputs
|
||||
, system
|
||||
, username
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
../home-mods/audio
|
||||
../home-mods/common
|
||||
../home-mods/desktop
|
||||
../home-mods/firefox
|
||||
../home-mods/plasma
|
||||
../home-mods/shell
|
||||
../home-mods/virt
|
||||
];
|
||||
|
||||
config.home = {
|
||||
username = "tester";
|
||||
username = username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
stateVersion = "23.05";
|
||||
};
|
|
@ -25,14 +25,18 @@
|
|||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
users.tester = import ./tester.nix {
|
||||
users.tester = import ./admin-thin.nix {
|
||||
username = "tester";
|
||||
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
inherit inputs;
|
||||
inherit system;
|
||||
inherit lib;
|
||||
};
|
||||
users.tristand = import ./tristand.nix {
|
||||
users.tristand = import ./admin-fat.nix {
|
||||
username = "tristand";
|
||||
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
inherit inputs;
|
||||
|
|
Loading…
Add table
Reference in a new issue