?
This commit is contained in:
parent
f84930f9f3
commit
c7b296b96f
6 changed files with 36 additions and 19 deletions
|
|
@ -51,7 +51,7 @@
|
|||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"luna@hummingbird" = lib.homeManagerConfiguration {
|
||||
"luna" = lib.homeManagerConfiguration {
|
||||
pkgs = pkgsFor.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
|
|
|
|||
|
|
@ -1,17 +1,21 @@
|
|||
{
|
||||
inputs, lib, pkgs, config, outputs, ...
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
imports = [
|
||||
];
|
||||
|
||||
];
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
home = {
|
||||
username = lib.mkDefault "luna";
|
||||
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||
stateVersion = "24.11";
|
||||
}
|
||||
}
|
||||
home = {
|
||||
username = lib.mkDefault "luna";
|
||||
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
imports = [
|
||||
./common
|
||||
];
|
||||
|
|
@ -14,7 +13,7 @@
|
|||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = [
|
||||
nixd # Nix LSP
|
||||
alejandra # formatter
|
||||
fd-find
|
||||
];
|
||||
}
|
||||
|
|
|
|||
15
hosts/common/default.nix
Normal file
15
hosts/common/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs outputs;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -9,9 +9,9 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
../common
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
#inputs.home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
@ -19,7 +19,6 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# mask dev-tpmrm0.device
|
||||
#systemd.services.dev-tpmrm0.wantedBy = lib.mkForce [];
|
||||
systemd.units."dev-tpmrm0.device".enable = false;
|
||||
|
||||
networking.hostName = "hummingbird"; # Define your hostname.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue