Final changes to make it replicable

This commit is contained in:
2025-11-19 21:15:03 +01:00
parent 015f7a46f5
commit 66f2ba734b
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
# boot.loader.efi.canTouchEfiVariables = true; # boot.loader.efi.canTouchEfiVariables = true;
# Networking # Networking
networking.hostName = "cribnix"; # Change this to your hostname networking.hostName = "myhost"; # Change this to your hostname
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Time zone # Time zone
@@ -40,9 +40,9 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# User account # User account
users.users.crib = { users.users.YOURUSERNAME = {
isNormalUser = true; isNormalUser = true;
description = "crib"; description = "Your Name";
extraGroups = [ "networkmanager" "wheel" "video" "audio" ]; extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };

View File

@@ -15,7 +15,7 @@
outputs = { self, nixpkgs, home-manager, hyprland, ... }@inputs: { outputs = { self, nixpkgs, home-manager, hyprland, ... }@inputs: {
nixosConfigurations = { nixosConfigurations = {
# Replace 'myhost' with your hostname # Replace 'myhost' with your hostname
cribnix = nixpkgs.lib.nixosSystem { myhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [