mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-24 12:30:51 +01:00
Testing Variables
This commit is contained in:
parent
f2d92f0b37
commit
980f2facae
@ -27,12 +27,12 @@
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.zaney = import ./home.nix;
|
||||
home-manager.users.${username} = import ./home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
workstation = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit system; inherit inputs; };
|
||||
specialArgs = { inherit system; inherit inputs; inherit username; inherit hostname; };
|
||||
modules = [ ./workstation/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
4
home.nix
4
home.nix
@ -1,8 +1,8 @@
|
||||
{ config, pkgs, username, ... }:
|
||||
|
||||
{
|
||||
home.username = ${username};
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/zaney";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.file.".config/zaney-stinger.mov".source = ./media/zaney-stinger.mov;
|
||||
|
@ -16,7 +16,7 @@
|
||||
boot.kernelModules = [ "v4l2loopback" ];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
|
||||
networking.hostName = ${hostname}; # Define your hostname.
|
||||
networking.hostName = "${hostname}"; # Define your hostname.
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
@ -40,7 +40,7 @@
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.${username} = {
|
||||
users.users."${username}" = {
|
||||
homeMode = "755";
|
||||
isNormalUser = true;
|
||||
description = "Tyler Kelley";
|
||||
|
Loading…
Reference in New Issue
Block a user