fixes
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
inputs.hardware.nixosModules.dell-xps-13-9315
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/features/user.nix
|
||||
../common/features/laptop.nix
|
||||
../common/features/networking.nix
|
||||
../common/features/gpu/intel-graphics.nix
|
||||
@@ -26,44 +27,10 @@
|
||||
|
||||
networking.hostName = "arrakis";
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
kernelParams = [
|
||||
"i915=force_probe=46a6"
|
||||
"i915.enable_psr=0"
|
||||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.naps62 = {
|
||||
isNormalUser = true;
|
||||
description = "Miguel Palhas";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"input"
|
||||
"wheel"
|
||||
"docker"
|
||||
"dialout"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
||||
openssh.authorizedKeys.keys =
|
||||
let
|
||||
authorizedKeys = pkgs.fetchurl {
|
||||
url = "https://github.com/naps62.keys";
|
||||
sha256 = "sha256-KNei7flY0a+dIHdJjeU1+MQGAZRoz8RJnNS75svDIBY=";
|
||||
};
|
||||
in
|
||||
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
||||
};
|
||||
boot.kernelParams = [
|
||||
"i915=force_probe=46a6"
|
||||
"i915.enable_psr=0"
|
||||
];
|
||||
|
||||
hardware.ipu6 = {
|
||||
enable = true;
|
||||
|
||||
@@ -10,8 +10,5 @@
|
||||
|
||||
users.groups.docker = { };
|
||||
|
||||
networking.firewall = {
|
||||
enable = false;
|
||||
# checkReversePath = false;
|
||||
};
|
||||
networking.firewall.enable = false;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
# wireless.iwd.enable = true;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
{
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
# Add any missing dynamic libraries for unpackaged programs
|
||||
# here, NOT in environment.systemPackages
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.naps62 = {
|
||||
isNormalUser = true;
|
||||
description = "Miguel Palhas";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"input"
|
||||
"wheel"
|
||||
"docker"
|
||||
"dialout"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
||||
openssh.authorizedKeys.keys =
|
||||
let
|
||||
authorizedKeys = pkgs.fetchurl {
|
||||
url = "https://github.com/naps62.keys";
|
||||
sha256 = "sha256-KNei7flY0a+dIHdJjeU1+MQGAZRoz8RJnNS75svDIBY=";
|
||||
};
|
||||
in
|
||||
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
@@ -12,13 +12,6 @@
|
||||
gnumake
|
||||
];
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
};
|
||||
|
||||
time = {
|
||||
timeZone = "Europe/Lisbon";
|
||||
};
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/features/user.nix
|
||||
../common/features/networking.nix
|
||||
../common/features/gpu/nvidia.nix
|
||||
../common/features/display
|
||||
@@ -24,21 +25,6 @@
|
||||
|
||||
networking.hostName = "konishi";
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
# kernel.sysctl = {
|
||||
# "net.ipv6.conf.all.disable_ipv6" = 1;
|
||||
# };
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
BOTTOM='HDMI-0'
|
||||
TOP='DP-0'
|
||||
@@ -52,30 +38,6 @@
|
||||
${pkgs.xrandr}/bin/xrandr --dpi 160
|
||||
'';
|
||||
|
||||
users.users.naps62 = {
|
||||
isNormalUser = true;
|
||||
description = "Miguel Palhas";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"input"
|
||||
"wheel"
|
||||
"docker"
|
||||
"dialout"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
||||
openssh.authorizedKeys.keys =
|
||||
let
|
||||
authorizedKeys = pkgs.fetchurl {
|
||||
url = "https://github.com/naps62.keys";
|
||||
sha256 = "sha256-KNei7flY0a+dIHdJjeU1+MQGAZRoz8RJnNS75svDIBY=";
|
||||
};
|
||||
in
|
||||
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
||||
};
|
||||
|
||||
networking.nameservers = [
|
||||
"100.100.100.100"
|
||||
"10.1.10.1"
|
||||
|
||||
Reference in New Issue
Block a user