laptop
This commit is contained in:
parent
fd9b7a03cf
commit
0fded27ad5
6 changed files with 31 additions and 9 deletions
|
|
@ -54,14 +54,14 @@
|
|||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
legacy = nixpkgs.lib.nixosSystem {
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
myhostname = "legacy";
|
||||
myhostname = "laptop";
|
||||
};
|
||||
modules = [
|
||||
./maskiner/legacy/configuration.nix
|
||||
./maskiner/legacy/legacy-disk.nix
|
||||
./maskiner/laptop/configuration.nix
|
||||
./maskiner/laptop/laptop-disk.nix
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
|
|
|
|||
18
maskiner/laptop/hardware-configuration.nix
Normal file
18
maskiner/laptop/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
@ -8,9 +8,9 @@
|
|||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
|
|||
|
|
@ -140,8 +140,10 @@ with lib;
|
|||
};
|
||||
|
||||
general = {
|
||||
gaps_in = 7;
|
||||
gaps_out = 14;
|
||||
# gaps_in = 7;
|
||||
# gaps_out = 14;
|
||||
gaps_in = 0;
|
||||
gaps_out = 0;
|
||||
border_size = 1;
|
||||
layout = "dwindle";
|
||||
allow_tearing = true;
|
||||
|
|
@ -162,7 +164,8 @@ with lib;
|
|||
};
|
||||
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# rounding = 10;
|
||||
rounding = 0;
|
||||
active_opacity = 0.9;
|
||||
inactive_opacity = 0.8;
|
||||
fullscreen_opacity = 0.9;
|
||||
|
|
@ -244,6 +247,7 @@ with lib;
|
|||
"$mod, u, focusurgentorlast"
|
||||
"$mod, tab, focuscurrentorlast"
|
||||
"$mod, f, fullscreen"
|
||||
"$mod, b, exec, pkill -USR1 waybar"
|
||||
|
||||
# Screen resize
|
||||
"$mod CTRL, h, resizeactive, -20 0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue