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 {
|
in {
|
||||||
# Hardware
|
# Hardware
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
"${
|
"${
|
||||||
builtins.fetchTarball {
|
builtins.fetchTarball {
|
||||||
url =
|
url = "https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
|
||||||
"https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
|
|
||||||
sha256 = "0wbx518d2x54yn4xh98cgm65wvj0gpy6nia6ra7ns4j63hx14fkq";
|
sha256 = "0wbx518d2x54yn4xh98cgm65wvj0gpy6nia6ra7ns4j63hx14fkq";
|
||||||
}
|
}
|
||||||
}/module.nix"
|
}/module.nix"
|
||||||
|
|
@ -17,13 +24,12 @@ in {
|
||||||
# + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
# + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with inputs.nix-alien.packages.${system};
|
environment.systemPackages = with inputs.nix-alien.packages.${system}; [nix-alien];
|
||||||
[ nix-alien ];
|
|
||||||
|
|
||||||
# System
|
# System
|
||||||
mods.user.name = "muon";
|
mods.user.name = "muon";
|
||||||
networking.hostName = "murk";
|
networking.hostName = "muvo";
|
||||||
networking.hostId = "a2309090";
|
networking.hostId = "a2309040";
|
||||||
mods.home.file = ./home.nix;
|
mods.home.file = ./home.nix;
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
|
|
@ -40,7 +46,7 @@ in {
|
||||||
|
|
||||||
# Persist
|
# Persist
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories = [ "/etc/NetworkManager" "/var/lib/NetworkManager" ];
|
directories = ["/etc/NetworkManager" "/var/lib/NetworkManager"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hardware preferences
|
# Hardware preferences
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue