Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
This commit is contained in:
parent
ebd178b0a5
commit
7606f9e051
66 changed files with 9465 additions and 73 deletions
|
@ -1,11 +1,36 @@
|
|||
{self, ...}: {
|
||||
imports = [self.inputs.home-manager.nixosModules.default ./configuration.nix];
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.home-manager.nixosModules.default];
|
||||
|
||||
home-manager.users.pedro = {
|
||||
imports = [
|
||||
./home-configuration
|
||||
];
|
||||
options = {
|
||||
hm-pedro.de = lib.mkOption {
|
||||
default = "none";
|
||||
type = lib.types.enum ["none" "hyprland"];
|
||||
};
|
||||
};
|
||||
config = {
|
||||
home-manager = {
|
||||
backupFileExtension = "hmbkp";
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
users.pedro = {
|
||||
imports = [./home-configuration];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
home.stateVersion = "25.05";
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.enable = true; # To use as user's default shell below
|
||||
users.users.pedro = {
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJji4h4bgzgmp7YoRX/8ePN0TcCYRfI2wlrEeZkBQ/y2 personal@peprolinbot.com"
|
||||
];
|
||||
};
|
||||
|
||||
programs.dconf.enable = true; # Doesn't work on headless installs without dconf (?)
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue