change hostname

This commit is contained in:
Sakooooo 2023-07-06 01:02:21 +03:00
parent 83fee18bad
commit f5e55c4244
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,7 @@
# for later when i setup flakes # for later when i setup flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# networking.hostName = "nixos"; # Define your hostname. networking.hostName = "sakotop"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.

View file

@ -12,7 +12,7 @@
outputs = { self, nixpkgs, ...}@attrs: { outputs = { self, nixpkgs, ...}@attrs: {
nixosConfigurations = { nixosConfigurations = {
# TODO(sako)::rename this # TODO(sako)::rename this
nixos = nixpkgs.lib.nixosSystem { sakotop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = attrs; specialArgs = attrs;
modules = [ ./configuration.nix ]; modules = [ ./configuration.nix ];

View file

@ -8,3 +8,7 @@ seperate nix file.
- copy project-template.nix - copy project-template.nix
- add package dependencies to it - add package dependencies to it
- when you dont maintain that project anymore you can delete the file and rebuild - when you dont maintain that project anymore you can delete the file and rebuild
# Add language?
- just make a nix file and add that yeah