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