Skip to content

Commit

Permalink
updated naming, to make space for new latop
Browse files Browse the repository at this point in the history
Signed-off-by: Bendik Dyrli <[email protected]>
  • Loading branch information
Bendik Dyrli committed Oct 25, 2024
1 parent b8b55d6 commit c328f22
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 30 deletions.
21 changes: 6 additions & 15 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
description = "Cornflakes, probably have not heard this before huehuehue";


inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
Expand All @@ -14,7 +13,6 @@
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
# nix-gaming.url = "github:fufexan/nix-gaming";
};


Expand Down Expand Up @@ -47,24 +45,17 @@
};
};
darwinConfigurations = {
SpaceCruiser = nix-darwin.lib.darwinSystem {
TheVoyager = nix-darwin.lib.darwinSystem {
specialArgs = {
inherit inputs;
inherit unstable;
};
modules = [
./hosts/SpaceCruiser/modules/apps.nix
./hosts/SpaceCruiser/modules/host-users.nix
./hosts/SpaceCruiser/modules/nix-core.nix
./hosts/SpaceCruiser/modules/system.nix

# inputs.home-manager.darwinModules.home-manager
#{
#home-manager.useGlobalPkgs = true;
#home-manager.useUserPackages = true;
#home-manager.users.hx = import ./hosts/SpaceCruiser/home.nix;
#}
];
./hosts/TheVoyager/modules/apps.nix
./hosts/TheVoyager/modules/host-users.nix
./hosts/TheVoyager/modules/nix-core.nix
./hosts/TheVoyager/modules/system.nix
];
};
};
};
Expand Down
14 changes: 0 additions & 14 deletions hosts/SpaceCruiser/modules/host-users.nix

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
neofetch
terraform
reveal-md
talosctl
# plex-media-player
];

Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions hosts/TheVoyager/modules/host-users.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

{ ... }:
{
networking.hostName = "TheVoyager";
networking.computerName = "TheVoyager";
system.defaults.smb.NetBIOSName = "TheVoyager";

users.users."hx"= {
home = "/Users/hx";
description = "hx";
};

nix.settings.trusted-users = [ "hx" ];
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

# options: https://daiderd.com/nix-darwin/manual/index.html#sec-options
{

ids.uids.nixbld = 300;
system = {
stateVersion = 5;
# activationScripts are executed every time you boot the system or run `nixos-rebuild` / `darwin-rebuild`.
activationScripts.postUserActivation.text = ''
# activateSettings -u will reload the settings from the database and apply them to the current session,
Expand Down

0 comments on commit c328f22

Please sign in to comment.