system/hosts/asus-gl553vd/users/jan.nix
Dmitriy Pleshevskiy b703b69513
host/asus: use disk to create btrfs luks encrypted
- make: fix rollback command
- flake.lock: add disko module.
- flake.lock: add impermanence module.
- disko: add configuration to create luks-btrfs schema.
- host/asus: add new filesystem configuration (luks-btrfs)
- host/asus: mount user from old partition.
- host/asus: add impermanence module to store system configuration.
2024-05-27 16:28:28 +03:00

29 lines
664 B
Nix

{ hostsPath, usersPath, lib, ... }:
let
asusData = import (hostsPath + "/asus-gl553vd/data.secret.nix");
homeData = import (hostsPath + "/home/data.secret.nix");
in
{
imports = [ (usersPath + "/jan") ];
home-manager.users.jan = {
local.window-manager = {
xmonad.projects = import ./xmonad-projects.secret.nix;
};
local.programs.dev-tools.k8s.enable = true;
local.programs.libreoffice.enable = true;
local.services.lan-mouse.settings = {
port = asusData.lan-mouse.port;
connections.left = {
hostname = "home";
ips = [ homeData.addr ];
port = homeData.lan-mouse.port;
};
};
};
}