mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Fix muvo hostname
This commit is contained in:
parent
2b5d0bf459
commit
07b68d71e3
1 changed files with 16 additions and 10 deletions
|
|
@ -1,14 +1,21 @@
|
|||
{ config, lib, pkgs, inputs, system, sources, modulesPath, ... }:
|
||||
let cfg = config.mods;
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
sources,
|
||||
modulesPath,
|
||||
...
|
||||
}: let
|
||||
cfg = config.mods;
|
||||
in {
|
||||
# Hardware
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
"${
|
||||
builtins.fetchTarball {
|
||||
url =
|
||||
"https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
|
||||
url = "https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
|
||||
sha256 = "0wbx518d2x54yn4xh98cgm65wvj0gpy6nia6ra7ns4j63hx14fkq";
|
||||
}
|
||||
}/module.nix"
|
||||
|
|
@ -17,13 +24,12 @@ in {
|
|||
# + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
];
|
||||
|
||||
environment.systemPackages = with inputs.nix-alien.packages.${system};
|
||||
[ nix-alien ];
|
||||
environment.systemPackages = with inputs.nix-alien.packages.${system}; [nix-alien];
|
||||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
networking.hostName = "murk";
|
||||
networking.hostId = "a2309090";
|
||||
networking.hostName = "muvo";
|
||||
networking.hostId = "a2309040";
|
||||
mods.home.file = ./home.nix;
|
||||
|
||||
# Modules
|
||||
|
|
@ -40,7 +46,7 @@ in {
|
|||
|
||||
# Persist
|
||||
environment.persistence."/persist" = {
|
||||
directories = [ "/etc/NetworkManager" "/var/lib/NetworkManager" ];
|
||||
directories = ["/etc/NetworkManager" "/var/lib/NetworkManager"];
|
||||
};
|
||||
|
||||
# Hardware preferences
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue