laptop
This commit is contained in:
parent
fd9b7a03cf
commit
0fded27ad5
6 changed files with 31 additions and 9 deletions
|
|
@ -54,14 +54,14 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
legacy = nixpkgs.lib.nixosSystem {
|
laptop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
myhostname = "legacy";
|
myhostname = "laptop";
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./maskiner/legacy/configuration.nix
|
./maskiner/laptop/configuration.nix
|
||||||
./maskiner/legacy/legacy-disk.nix
|
./maskiner/laptop/laptop-disk.nix
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
sops-nix.nixosModules.sops
|
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")
|
[ (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.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
|
||||||
|
|
@ -140,8 +140,10 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 7;
|
# gaps_in = 7;
|
||||||
gaps_out = 14;
|
# gaps_out = 14;
|
||||||
|
gaps_in = 0;
|
||||||
|
gaps_out = 0;
|
||||||
border_size = 1;
|
border_size = 1;
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
allow_tearing = true;
|
allow_tearing = true;
|
||||||
|
|
@ -162,7 +164,8 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 10;
|
# rounding = 10;
|
||||||
|
rounding = 0;
|
||||||
active_opacity = 0.9;
|
active_opacity = 0.9;
|
||||||
inactive_opacity = 0.8;
|
inactive_opacity = 0.8;
|
||||||
fullscreen_opacity = 0.9;
|
fullscreen_opacity = 0.9;
|
||||||
|
|
@ -244,6 +247,7 @@ with lib;
|
||||||
"$mod, u, focusurgentorlast"
|
"$mod, u, focusurgentorlast"
|
||||||
"$mod, tab, focuscurrentorlast"
|
"$mod, tab, focuscurrentorlast"
|
||||||
"$mod, f, fullscreen"
|
"$mod, f, fullscreen"
|
||||||
|
"$mod, b, exec, pkill -USR1 waybar"
|
||||||
|
|
||||||
# Screen resize
|
# Screen resize
|
||||||
"$mod CTRL, h, resizeactive, -20 0"
|
"$mod CTRL, h, resizeactive, -20 0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue