This commit is contained in:
Simon Gardling 2024-10-20 02:48:04 -04:00
parent 4e4f69484f
commit ab6aadcda5
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
5 changed files with 34 additions and 42 deletions

View File

@ -13,7 +13,6 @@
./declarative-nm.nix
inputs.nixos-hardware.nixosModules.common-pc-ssd
];
nix = {
@ -39,10 +38,6 @@
kernelPackages = pkgs.linuxPackages_cachyos-lto;
kernel.sysctl = {
#for profiling
"kernel.perf_event_paranoid" = 1;
"kernel.kptr_restrict" = 0;
# dmesg shushhhhh
"kernel.printk" = "2 4 1 7";
};
@ -111,11 +106,6 @@
age.identityPaths = [ "/home/${username}/.ssh/id_ed25519" ];
age.secrets.primary-password = {
file = ./secrets/primary-password.age;
path = "/etc/secrets/primary-password";
};
# networking
networking = import ./networking.nix { inherit hostname; };
@ -143,7 +133,7 @@
settings.General.Experimental = true;
};
#apply gtk themes by enabling dconf
# Apply gtk themes by enabling dconf
programs.dconf.enable = true;
# Enable sound with pipewire.
@ -154,8 +144,11 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
# jack.enable = true;
};
age.secrets.primary-password = {
file = ./secrets/primary-password.age;
path = "/etc/secrets/primary-password";
};
# Define my user account (the rest of the configuration if found in `~/.config/home-manager/...`)

4
etcnixos/flake.lock generated
View File

@ -392,11 +392,11 @@
},
"wivrn": {
"locked": {
"lastModified": 1729402130,
"lastModified": 1729405003,
"narHash": "sha256-V9ZdbZ2iFVsN2AF/aJmSiRDp9rU5HYeQX+1NBYcKJzQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a2922fae7ea92ee5c3ddb5999ee1997c699d87f8",
"rev": "414c84c95aab19cb7dc603f0139d6dea2bc9f053",
"type": "github"
},
"original": {

View File

@ -2,14 +2,14 @@
{
hostName = hostname;
hostId = "cfe0ff46";
networkmanager = {
enable = true;
insertNameservers = [
"1.1.1.1"
"9.9.9.9"
];
wifi = {
scanRandMacAddress = true;
};

View File

@ -12,7 +12,6 @@
./hardware_laptop.nix
inputs.nixos-hardware.nixosModules.framework-12th-gen-intel
inputs.nixos-hardware.nixosModules.common-pc-ssd
inputs.lanzaboote.nixosModules.lanzaboote
];

View File

@ -18,9 +18,6 @@
];
boot = {
# kernelPackages = lib.mkForce pkgs.linuxPackages_6_10;
# supportedFilesystems = [ "zfs" ];
kernelParams = [
# allow overclocking (I actually underclock but lol)
"amdgpu.ppfeaturemask=0xFFF7FFFF"
@ -34,14 +31,16 @@
services.xserver.enable = false;
services.desktopManager.plasma6.enable = true;
services.displayManager.sddm = {
services.displayManager = {
sddm = {
enable = true;
wayland.enable = true;
};
services.displayManager.autoLogin = {
autoLogin = {
enable = true;
user = "primary";
user = username;
};
};
services.openssh = {
@ -60,6 +59,7 @@
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
};
# LACT (Linux AMDGPU Configuration Tool): https://github.com/ilya-zlobintsev/LACT
environment.systemPackages = with pkgs; [
lact
];