hosts: set profiles
We set profiles before moving the config so nothing breaks and we keep a working commit history :)
This commit is contained in:
parent
65ea8beba0
commit
9b01b40253
4 changed files with 19 additions and 8 deletions
|
@ -8,14 +8,21 @@ in {
|
|||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
|
||||
local = {
|
||||
systemVars = {
|
||||
hostName = "anastacia";
|
||||
};
|
||||
|
||||
profiles.server.enable = true;
|
||||
};
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
networking.hostName = "anastacia";
|
||||
networking.domain = "";
|
||||
services.openssh.enable = true;
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEzs7SQH0Vjt9JHoXXmWy9fPU1I3rrRWV5magZFrI5al"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKEPlN/GU9nJZPleA77HH5NA+6vyhhM84fTSjEwnEgq"
|
||||
];
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
"${self}/config/nixos/services/documentation.nix"
|
||||
|
||||
"${self}/config/nixos/services/location.nix"
|
||||
|
||||
"${self}/config/nixos/hardware/mcuxpresso.nix"
|
||||
({
|
||||
config,
|
||||
specialArgs,
|
||||
|
@ -62,7 +60,6 @@
|
|||
gaming = [
|
||||
../config/nixos/programs/games.nix
|
||||
../config/nixos/services/flatpak.nix
|
||||
../config/nixos/hardware/uni-sync.nix
|
||||
({config, ...}: {
|
||||
home-manager.users.${config.local.systemVars.username}.imports = [
|
||||
"${self}/config/home-manager/programs/games"
|
||||
|
@ -72,9 +69,6 @@
|
|||
];
|
||||
|
||||
laptop = [
|
||||
"${self}/config/nixos/core/lanzaboote.nix"
|
||||
|
||||
"${self}/config/nixos/hardware/fprintd.nix"
|
||||
"${self}/config/nixos/services/kanata.nix"
|
||||
"${self}/config/nixos/services/power.nix"
|
||||
"${self}/config/nixos/services/brightness.nix"
|
||||
|
|
|
@ -10,6 +10,11 @@ _: {
|
|||
fullName = "Anthony Rodriguez";
|
||||
email = "anthony@nezia.dev";
|
||||
};
|
||||
|
||||
profiles = {
|
||||
desktop.enable = true;
|
||||
gaming.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
||||
|
|
|
@ -11,6 +11,11 @@ _: {
|
|||
fullName = "Anthony Rodriguez";
|
||||
email = "anthony@nezia.dev";
|
||||
};
|
||||
|
||||
profiles = {
|
||||
desktop.enable = true;
|
||||
laptop.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
||||
|
|
Loading…
Reference in a new issue