several improvements to desktop

This commit is contained in:
Thilo Billerbeck 2025-04-01 20:01:20 +02:00
parent bf38821477
commit b4e9a29654
9 changed files with 23 additions and 23 deletions

View file

@ -15,21 +15,24 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/caa83e18-f2f2-46f9-8c27-0842c3051dc1"; { device = "/dev/disk/by-uuid/ecc9110a-4510-4a67-9227-021e146b59ca";
fsType = "btrfs"; fsType = "ext4";
options = [ "subvol=@" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DADB-44A9"; { device = "/dev/disk/by-uuid/230E-6756";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices =
[ { device = "/dev/disk/by-uuid/9ad760a9-34e4-4858-96e6-98c7a8e497a4"; }
];
fileSystems = { fileSystems = {
"/data" = { "/data" = {
device = "/dev/disk/by-uuid/a13a2cfa-12af-463d-ae5c-d46c881fcdd6"; device = "/dev/disk/by-uuid/a13a2cfa-12af-463d-ae5c-d46c881fcdd6";

View file

@ -46,10 +46,10 @@
]; ];
programs.distrobox = { programs.distrobox = {
enable = lib.mkForce true; enable = true;
containers = { containers = {
arch = { arch = {
image = "arch-toolbox"; image = "quay.io/toolbx/arch-toolbox";
additional_packages = "python python-pip nodejs"; additional_packages = "python python-pip nodejs";
volume = "/etc/static/profiles/per-user:/etc/profiles/per-user:ro"; volume = "/etc/static/profiles/per-user:/etc/profiles/per-user:ro";
replace = true; replace = true;

View file

@ -23,6 +23,7 @@
grub = { grub = {
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
useOSProber = true;
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
@ -174,6 +175,7 @@
autoStart = true; autoStart = true;
enable = true; enable = true;
user = "thilo"; user = "thilo";
desktopSession = "plasma";
}; };
}; };
}; };

View file

@ -12,8 +12,6 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
dagger.url = "github:dagger/nix";
dagger.inputs.nixpkgs.follows = "nixpkgs";
nixgl = { nixgl = {
url = "github:guibou/nixGL"; url = "github:guibou/nixGL";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -57,7 +55,7 @@
}; };
in in
{ {
nixosConfigurations.thilo-pc = nixpkgs.lib.nixosSystem { nixosConfigurations."thilo-pc" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager

View file

@ -31,6 +31,7 @@ with lib;
./../programs/hstr.nix ./../programs/hstr.nix
./../programs/thefuck.nix ./../programs/thefuck.nix
./../programs/ssh.nix ./../programs/ssh.nix
./../programs/vscode.nix
./../programs/zed.nix ./../programs/zed.nix
./../../nix.nix ./../../nix.nix
./packages.nix ./packages.nix

View file

@ -14,14 +14,6 @@ let
in in
{ {
config = { config = {
nixpkgs.overlays = [
(_: prev: {
quickemu = prev.quickemu.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./../patches/quickemu.patch ];
});
})
];
home.packages = home.packages =
with pkgs; with pkgs;
[ [
@ -70,12 +62,11 @@ in
ncdu ncdu
devenv devenv
inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update
inputs.dagger.packages.x86_64-linux.dagger nixpkgs-review
unzip unzip
nil nil
nixd nixd
unrar unrar
# inputs.w17.packages.x86_64-linux.default
nix-output-monitor nix-output-monitor
nodePackages.pnpm nodePackages.pnpm
npm-check-updates npm-check-updates
@ -136,10 +127,8 @@ in
bottles bottles
protontricks protontricks
heroic heroic
(vscode.override { commandLineArgs = electronFlags; })
quickemu quickemu
quickgui quickgui
trilium-desktop
anki anki
muse-sounds-manager muse-sounds-manager
jetbrains-toolbox jetbrains-toolbox
@ -160,6 +149,7 @@ in
telegram-desktop telegram-desktop
thunderbird thunderbird
gearlever gearlever
kdePackages.merkuro
] ]
else else
[ ] [ ]

View file

@ -1,7 +1,7 @@
{ config, ... }: { config, ... }:
{ {
programs.firefox = { programs.floorp = {
enable = if (config.machine.isGraphical && !config.machine.isGeneric) then true else false; enable = if (config.machine.isGraphical && !config.machine.isGeneric) then true else false;
}; };
} }

View file

@ -25,6 +25,7 @@ in
"nix" "nix"
"uv" "uv"
]; ];
nix_arguments = "--builders \"\"";
}; };
git.repos = [ configPath ]; git.repos = [ configPath ];
firmware = { firmware = {

View file

@ -0,0 +1,5 @@
{
programs.vscode = {
enable = true;
};
}