Current state of main at 0240060 feat(hp-laptop): install TeleportFling from its flake. History intentionally collapsed to a single commit; this repo mirrors only the latest state.
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
# /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
|
|
];
|
|
}
|