Nix-Vibe public snapshot (squashed history)
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# /hosts/nixos/configuration.nix
|
||||
{ config
|
||||
, pkgs
|
||||
, inputs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/core/common.nix
|
||||
../../modules/core/management.nix
|
||||
../../modules/desktop/gui.nix
|
||||
(import ../../modules/storage/disko.nix {
|
||||
inherit inputs lib config;
|
||||
diskoConfigPath = ./disko-config.nix;
|
||||
})
|
||||
../../modules/desktop/gnome.nix
|
||||
../../modules/desktop/apps/freeshow.nix
|
||||
../../modules/desktop/apps/openlp.nix
|
||||
];
|
||||
|
||||
sops.secrets = {
|
||||
"users/petere-password" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
"users/guest-password" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
"opencode-api-key" = {
|
||||
owner = "petere";
|
||||
group = "users";
|
||||
mode = "0440";
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.petere.imports = [ ../../home-manager/modules/desktop-user.nix ];
|
||||
|
||||
networking.hostName = "x470"; # Define your hostname
|
||||
|
||||
my.users.petere = {
|
||||
description = "Peter Edley";
|
||||
hashedPasswordFile = config.sops.secrets."users/petere-password".path;
|
||||
};
|
||||
|
||||
users.users.guest = {
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.sops.secrets."users/guest-password".path;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
winbox
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user