{ # An instance of `pkgs` with your overlays and packages applied is also available. pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; # basic setup time.timeZone = "Asia/Kolkata"; networking = { hostName = "predator"; firewall = { enable = true; }; }; snowflake = { locale = "en_US.UTF-8"; extraPackages = [ ]; core = { openssh.enable = true; usbguard = { enable = true; serviceEnable = true; rules = '' allow id 1d6b:0002 serial "0000:00:14.0" name "xHCI Host Controller" hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" parent-hash "rV9bfLq7c2eA4tYjVjwO4bxhm+y6GgZpl9J60L0fBkY=" with-interface 09:00:00 with-connect-type "" allow id 1d6b:0003 serial "0000:00:14.0" name "xHCI Host Controller" hash "3Wo3XWDgen1hD5xM3PSNl3P98kLp1RUTgGQ5HSxtf8k=" parent-hash "rV9bfLq7c2eA4tYjVjwO4bxhm+y6GgZpl9J60L0fBkY=" with-interface 09:00:00 with-connect-type "" allow id 04ca:3016 serial "" name "" hash "sWyd7TOtgnEsF2goHz8YArmVFOJ2oPOaXymfNvIlfX4=" parent-hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" via-port "1-7" with-interface { e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 } with-connect-type "not used" allow id 04f2:b5f7 serial "" name "HD WebCam" hash "qQuh2zlQME9E1ToJeITgPbgnlVw4GNizEh9S36RoDEw=" parent-hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" via-port "1-9" with-interface { 0e:01:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 0e:02:00 } with-connect-type "hardwired" ''; }; latestKernel = true; }; networking = { wakeOnLan = { enable = true; interface = "enp3s0f1"; }; netbirdClient = { enable = true; }; }; hardware = { isEfi = true; xbootldrMountPoint = "/boot"; efiSysMountPoint = "/efi"; diskDevice = "/dev/sda"; isInitrdLuksUnlockingEnabled = true; laptop = { enable = true; lidSwitch = "ignore"; }; }; user = { enable = true; users = { cc = { isNormalUser = true; shell = pkgs.bash; description = "Ameya Shenoy"; extraGroups = [ "wheel" # Enable ‘sudo’ for the user. "docker" ]; initialHashedPassword = "$y$j9T$cfmQcJ67WPKPEhsIbH2aC.$m8bDYq5dZrfx8NdU57jKbRc1nFuSB7iKdnAka6/u9R0"; authorizedKeys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKJnFvU6nBXEuZF08zRLFfPpxYjV3o0UayX0zTPbDb7C eden-thinkpad-zephyrus-cell" ]; }; }; }; }; system.stateVersion = "24.05"; # Did you read the comment? }