Dmitriy Pleshevskiy
b703b69513
- 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.
28 lines
664 B
Nix
28 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;
|
|
};
|
|
};
|
|
};
|
|
}
|