hello when i change my config file to this
Set your time zone.
time.timeZone = "America/New_York";
The global useDHCP flag is deprecated, therefore explicitly set to false here.
Per-interface useDHCP will be mandatory in the future, so this generated config
replicates the default behaviour.
networking.useDHCP = false;
networking.interfaces.enp3s0f1.useDHCP = true;
networking.interfaces.wlp2s0.useDHCP = true;
Configure network proxy if necessary
networking.proxy.default = “http://user:password@proxy:port/”;
networking.proxy.noProxy = “127.0.0.1,localhost,internal.domain”;
Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "dvorak, us";
};
changing the layout and the timezone because changing the layout the normal way doesnt make the gnome login screen dvorak so im trying this.
i get this error when running
[root@nixos:/home/scott]# nixos-rebuild switch --show-trace
error: while evaluating the attribute ‘config’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating ‘evalModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:21:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating ‘mapAttrsRecursiveCond’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:271:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:28:
while evaluating ‘recurse’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:273:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:281:8:
while evaluating the attribute ‘matchedOptions’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:373:14:
while evaluating ‘flip’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:341:23:
while evaluating ‘byName’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:321:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:329:21:
while evaluating ‘reverseList’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:90:33:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:208:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:86:25:
while evaluating ‘filterModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:198:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:209:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:202:31, called from undefined position:
while evaluating ‘loadModule’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:147:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:185:22:
while evaluating ‘unifyModuleSyntax’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:213:34, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:14:
while evaluating ‘applyIfFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:59:
while evaluating ‘isFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:68:
syntax error, unexpected ID, expecting ‘.’ or ‘=’, at /etc/nixos/configuration.nix:34:14
building Nix…
error: while evaluating the attribute ‘config’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating ‘evalModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:21:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating ‘mapAttrsRecursiveCond’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:271:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:28:
while evaluating ‘recurse’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:273:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:281:8:
while evaluating the attribute ‘matchedOptions’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:373:14:
while evaluating ‘flip’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:341:23:
while evaluating ‘byName’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:321:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:329:21:
while evaluating ‘reverseList’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:90:33:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:208:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:86:25:
while evaluating ‘filterModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:198:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:209:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:202:31, called from undefined position:
while evaluating ‘loadModule’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:147:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:185:22:
while evaluating ‘unifyModuleSyntax’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:213:34, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:14:
while evaluating ‘applyIfFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:59:
while evaluating ‘isFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:68:
syntax error, unexpected ID, expecting ‘.’ or ‘=’, at /etc/nixos/configuration.nix:34:14
building the system configuration…
error: while evaluating the attribute ‘config.system.build.toplevel’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating ‘evalModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:21:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:12:
while evaluating ‘mapAttrsRecursiveCond’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:271:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:28:
while evaluating ‘recurse’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:273:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:281:8:
while evaluating the attribute ‘matchedOptions’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:373:14:
while evaluating ‘flip’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:341:23:
while evaluating ‘byName’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:321:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:329:21:
while evaluating ‘reverseList’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:90:33:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:208:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:86:25:
while evaluating ‘filterModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:198:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:209:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:202:31, called from undefined position:
while evaluating ‘loadModule’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:147:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:185:22:
while evaluating ‘unifyModuleSyntax’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:213:34, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:14:
while evaluating ‘applyIfFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:150:59:
while evaluating ‘isFunction’ at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:243:68:
syntax error, unexpected ID, expecting ‘.’ or ‘=’, at /etc/nixos/configuration.nix:34:14
can anyone help me?
edit: so just changing the timezone works. can anyone help me fix the layout thing. gnome works except the login screen is qwerty. i also have this
Configure keymap in X11
services.xserver.layout = "dvorak, us";
services.xserver.xkbOptions = "eurosign:e";
but it doesnt fix it