Enterprise; Prepare for cleanup
This commit is contained in:
parent
6a9878aa39
commit
f08d31f2b9
3 changed files with 37 additions and 15 deletions
40
flake.nix
40
flake.nix
|
@ -54,15 +54,11 @@
|
|||
./modules/plasma-desktop.nix
|
||||
./modules/fonts.nix
|
||||
./modules/users.nix
|
||||
agenix.nixosModules.age
|
||||
./modules/agenix.nix
|
||||
|
||||
# Host-specific config
|
||||
./hosts/enterprise/hw.nix
|
||||
./hosts/enterprise/networking.nix
|
||||
./hosts/enterprise/sound.nix
|
||||
./hosts/enterprise/backup.nix
|
||||
./hosts/enterprise/syncthing.nix
|
||||
./hosts/enterprise/nvidia.nix
|
||||
./hosts/enterprise/configuration.nix
|
||||
|
||||
|
@ -77,6 +73,42 @@
|
|||
];
|
||||
};
|
||||
|
||||
# The (new) Workhorse
|
||||
hermes = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = common-modules ++ [
|
||||
|
||||
# Overlays
|
||||
{ nixpkgs.overlays = [ emacs-overlay.overlay ]; }
|
||||
|
||||
# Modules and module config
|
||||
./modules/fish.nix
|
||||
./modules/plasma-desktop.nix
|
||||
./modules/fonts.nix
|
||||
./modules/users.nix
|
||||
# agenix.nixosModules.age
|
||||
# ./modules/agenix.nix
|
||||
|
||||
# Host-specific config
|
||||
./hosts/enterprise/hw.nix
|
||||
./hosts/enterprise/networking.nix
|
||||
./hosts/enterprise/sound.nix
|
||||
# ./hosts/enterprise/backup.nix
|
||||
# ./hosts/enterprise/syncthing.nix
|
||||
# ./hosts/enterprise/nvidia.nix
|
||||
./hosts/enterprise/configuration.nix
|
||||
|
||||
# User-specific config : Home-manager
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.payas = import ./hosts/enterprise/home.nix;
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
# My Pi
|
||||
bebop = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
|
|
|
@ -4,13 +4,6 @@
|
|||
imports = [
|
||||
../../modules/common-home.nix
|
||||
|
||||
./mail.nix
|
||||
./emacs.nix
|
||||
];
|
||||
|
||||
# xdg.configFile."fish/config.fish".text = ''
|
||||
# '';
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# learn...things?
|
||||
anki
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
{
|
||||
networking = {
|
||||
hostName = "enterprise"; # Define your hostname.
|
||||
hosts = {
|
||||
"192.168.0.7" = [ "bebop" ];
|
||||
};
|
||||
hostName = "enterprise"; # Define your hostname.;
|
||||
|
||||
# use iNet Wireless Daemon (instead of wpa_supplicant) for wireless device management
|
||||
wireless.iwd = {
|
||||
|
|
Reference in a new issue