nix in vscode and reformatting files

This commit is contained in:
CDaut 2024-04-18 10:15:25 +02:00
parent e1ac2a9a09
commit 361d0c8df8
Signed by: clara
GPG key ID: 223391B52FAD4463
6 changed files with 18 additions and 13 deletions

View file

@ -7,7 +7,7 @@
];
# Bootloader.
boot.loader = {
boot.loader = {
efi.canTouchEfiVariables = true;
grub = {
enable = true;
@ -17,9 +17,9 @@
};
};
boot.initrd.kernelModules = ["amdgpu"];
services.hardware.bolt.enable = true;
boot.initrd.kernelModules = [ "amdgpu" ];
services.hardware.bolt.enable = true;
networking.hostName = "nixpad"; # Define your hostname.
@ -55,7 +55,7 @@
defaultSession = "none+i3";
setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output eDP-1 --mode 3840x2160;
'';
'';
};
windowManager.i3 = {
@ -70,7 +70,7 @@
desktopManager.wallpaper.mode = "fill";
};
imports = [
imports = [
./programm_configs/yubikey-gpg.nix
];

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
@ -14,14 +15,16 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9acc939a-f9d8-4e3b-a3b2-a90752de8ce7";
{
device = "/dev/disk/by-uuid/9acc939a-f9d8-4e3b-a3b2-a90752de8ce7";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-38517f01-1bef-4603-bcfe-8c66124dc32a".device = "/dev/disk/by-uuid/38517f01-1bef-4603-bcfe-8c66124dc32a";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F0FA-6F3D";
{
device = "/dev/disk/by-uuid/F0FA-6F3D";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};

View file

@ -47,6 +47,7 @@ in
signal-desktop
redshift
nextcloud-client
nixpkgs-fmt
];
# dotfiles

View file

@ -1,11 +1,11 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.git = {
enable = true;
userName = "CDaut";
userName = "CDaut";
userEmail = "git@cdaut.de";
signing = {
signByDefault = true;
key = "58EF8D71114EF548DEE3320DE6F04916B6EEBD83";
};
};
}
}

View file

@ -6,6 +6,7 @@
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
james-yu.latex-workshop
jnoortheen.nix-ide
];
};
}

View file

@ -21,4 +21,4 @@
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
'';
}
}