Compare commits
No commits in common. "9b150da119f09a0647a716cbf19e77cf00b319e7" and "de8c6e1327ab8c6c8b649bb3293acd3b422fb456" have entirely different histories.
9b150da119
...
de8c6e1327
4 changed files with 0 additions and 69 deletions
|
@ -35,7 +35,6 @@
|
|||
(import ../../modules/programs/emacs.nix {})
|
||||
../../modules/programs/fonts.nix
|
||||
../../modules/programs/desktop.nix
|
||||
../../modules/programs/games.nix
|
||||
];
|
||||
home.username = "nathan";
|
||||
home.homeDirectory = "/home/nathan/";
|
||||
|
@ -60,14 +59,6 @@
|
|||
Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Stylus note taking
|
||||
xournalpp
|
||||
rnote
|
||||
# System monitoring
|
||||
nvtopPackages.full
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs',
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
# Minecraft
|
||||
prismlauncher
|
||||
zulu
|
||||
glfw3-minecraft
|
||||
];
|
||||
}
|
|
@ -154,52 +154,11 @@
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Touch stuff
|
||||
libinput
|
||||
maliit-keyboard
|
||||
dconf-editor
|
||||
surface-control
|
||||
];
|
||||
|
||||
# Setup iptsd for touch and stylus support
|
||||
services.iptsd = {
|
||||
enable = true;
|
||||
config.Touchscreen = {
|
||||
DisableOnPalm = true;
|
||||
DisableOnStylus = true;
|
||||
};
|
||||
};
|
||||
|
||||
# And thermald
|
||||
services.thermald = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Other power saving goodies
|
||||
hardware.enableAllFirmware = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
};
|
||||
};
|
||||
powerManagement.enable = true;
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.cpupower-gui.enable = true;
|
||||
|
||||
# Nvidia gpu setup
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:2:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
|
@ -31,11 +31,6 @@
|
|||
imports = [
|
||||
# Hardware support
|
||||
inputs.nixos-hardware.nixosModules.microsoft-surface-common
|
||||
inputs.nixos-hardware.nixosModules.common-pc
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
# Our modules
|
||||
(import ../../modules/base.nix {inherit inputs;})
|
||||
(import ./configuration.nix)
|
||||
|
|
Loading…
Add table
Reference in a new issue