2024-09-11 10:33:15 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../../base.nix
|
2024-09-13 13:57:16 +02:00
|
|
|
./hardware-configuration.nix
|
2024-09-11 10:33:15 +02:00
|
|
|
./desktop
|
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
interfaces.eno1 = {
|
|
|
|
useDHCP = true;
|
|
|
|
ipv6.addresses = [
|
|
|
|
{ address = "2001:700:300:22::15"; prefixLength = 64; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-09-13 13:57:16 +02:00
|
|
|
tempAddresses = "disabled";
|
2024-09-11 10:33:15 +02:00
|
|
|
hostName = "felixalbpc";
|
|
|
|
nameservers = [ "129.241.0.200" "129.241.0.201" "2001:700:300::200" "2001:700:300::201" ];
|
|
|
|
domain = "it.ntnu.no";
|
|
|
|
hostId = "f458d6aa";
|
|
|
|
};
|
|
|
|
|
|
|
|
console.keyMap = "no";
|
|
|
|
|
2024-09-13 13:57:16 +02:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"copilot.vim"
|
|
|
|
];
|
|
|
|
|
2024-09-11 10:33:15 +02:00
|
|
|
users.users.felixalb = {
|
|
|
|
uid = 1328256;
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
openssh.authorizedKeys.keys = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|
|
|
|
|