update stuff

This commit is contained in:
Lukas Heiligenbrunner 2023-11-16 15:18:26 +01:00
parent 7f3f07bc97
commit 4274ed2f8d
5 changed files with 49 additions and 20 deletions

View File

@ -15,13 +15,27 @@
boot.plymouth.enable = true; boot.plymouth.enable = true;
# start kernel in quiet output mode # start kernel in quiet output mode
# boot.kernelParams = ["quiet"]; boot.kernelParams = ["amdgpu.sg_display=0"];
# clean temp dir on every boot # clean temp dir on every boot
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
# newest kernel # newest kernel
boot.kernelPackages = pkgs.linuxPackages_latest; #boot.kernelPackages = pkgs.linuxPackages_latest;
# set mainline kernel version
#boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_5;
# set specific kernel version
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_6.override {
argsOverride = rec {
src = pkgs.fetchurl {
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
sha256 = "sha256-2h7X1HyX7XLJNUCRYodAqjxAo8nNc4KHHzztvWBYgjQ=";
};
version = "6.6.1";
modDirVersion = "6.6.1";
};
});
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ let
uint32 = lib.hm.gvariant.mkUint32;
in {
imports = imports =
[]; [];
@ -15,13 +17,21 @@
enable-hot-corners = true; enable-hot-corners = true;
clock-show-seconds = true; clock-show-seconds = true;
show-battery-percentage = true; show-battery-percentage = true;
scaling-factor = 1.25;
}; };
"org/gnome/mutter" = { "org/gnome/mutter" = {
dynamic-workspaces = true; dynamic-workspaces = true;
edge-tiling = true; edge-tiling = true;
# remove line when out of experimental
experimental-features = ["scale-monitor-framebuffer"]; experimental-features = ["scale-monitor-framebuffer"];
}; };
"org/gnome/session" = {
idle-delay = uint32(600);
};
"org/gnome/desktop/screensaver" = {
lock-enabled = true;
lock-delay = uint32(300);
};
"org/gnome/shell" = { "org/gnome/shell" = {
favorite-apps = [ favorite-apps = [
"org.gnome.Nautilus.desktop" "org.gnome.Nautilus.desktop"
@ -58,6 +68,8 @@
sleep-inactive-battery-type = "nothing"; sleep-inactive-battery-type = "nothing";
sleep-inactive-ac-type = "nothing"; sleep-inactive-ac-type = "nothing";
ambient-enabled = false; ambient-enabled = false;
# doesn't work for some reason?
idle-dim = false;
}; };
}; };

View File

@ -41,6 +41,8 @@
powertop powertop
htop htop
radeontop radeontop
neofetch
dmidecode
# web # web
firefox firefox
@ -51,7 +53,9 @@
git git
flutter flutter
prusa-slicer prusa-slicer
rustup
#cargo
#rustc
## jetbrains ides ## jetbrains ides
jetbrains.idea-ultimate jetbrains.idea-ultimate

24
flake.lock generated
View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699368917, "lastModified": 1700087144,
"narHash": "sha256-nUtGIWf86BOkUbtksWtfglvCZ/otP0FTZlQH8Rzc7PA=", "narHash": "sha256-LJP1RW0hKNWmv2yRhnjkUptMXInKpn/rV6V6ofuZkHU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6a8444467c83c961e2f5ff64fb4f422e303c98d3", "rev": "ab1459a1fb646c40419c732d05ec0bf2416d4506",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,27 +22,27 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1698870265, "lastModified": 1699997707,
"narHash": "sha256-ZbTELogcMIGfnGULeAzPDbh4SNIVKYxeH7Y7Vu9BQdc=", "narHash": "sha256-ugb+1TGoOqqiy3axyEZpfF6T4DQUGjfWZ3Htry1EfvI=",
"owner": "kjhoerr", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "39d0b4df49bc835542dab47645764a8f3779ec31", "rev": "5689f3ebf899f644a1aabe8774d4f37eb2f6c2f9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "kjhoerr", "owner": "NixOS",
"ref": "fw13-7040", "ref": "master",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1699099776, "lastModified": 1699781429,
"narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=", "narHash": "sha256-UYefjidASiLORAjIvVsUHG6WBtRhM67kTjEY4XfZOFs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb", "rev": "e44462d6021bfe23dfb24b775cc7c390844f773d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -9,8 +9,7 @@
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
#nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-hardware.url = "github:kjhoerr/nixos-hardware/fw13-7040";
}; };
outputs = { self, nixpkgs, home-manager, nixos-hardware }: outputs = { self, nixpkgs, home-manager, nixos-hardware }: