Add eirene bare metal config

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-19 17:17:55 +03:00
parent aec06c4b37
commit 69ac30f0b9
10 changed files with 66 additions and 22 deletions

View File

@@ -80,6 +80,10 @@
"$mod, mouse:273, resizewindow"
];
input = {
"accel_profile" = "flat";
};
misc = {
"disable_hyprland_logo" = true;
"disable_splash_rendering" = true;

View File

@@ -24,6 +24,7 @@ in
sharedModules = [{
imports = [
inputs.impermanence.nixosModules.home-manager.impermanence
inputs.sops-nix.homeManagerModules.sops
inputs.stylix.homeManagerModules.stylix
./configs/stylix
./configs/hyprland
@@ -73,11 +74,13 @@ in
".local/share/zsh"
];
files = [
".local/share/sops-nix/key.txt"
".config/sops-nix/key.txt"
];
allowOther = true;
};
sops.age.keyFile = "/persist${config.home}/.config/sops-nix/key.txt";
programs.git = {
userName = config.fullName;
userEmail = config.email;

View File

@@ -1,24 +1,24 @@
{ lib, ... }:
let
userOptions = with lib; { config, ... }: {
userOptions = with lib; with types; { config, ... }: {
options.email = mkOption {
type = types.nullOr types.str;
type = nullOr str;
description = "Email address of the user.";
};
options.fullName = mkOption {
type = types.nullOr types.str;
type = nullOr str;
description = "Full name of the user.";
};
options.wallpaper = mkOption {
type = types.path;
type = path;
description = "Path to the user's wallpaper.";
};
options.base16Scheme = mkOption {
type = types.path;
type = path;
description = "Base16 scheme to use for the user's color palette.";
};
};