Compare commits

...

5 Commits

6 changed files with 111 additions and 46 deletions

View File

@ -21,6 +21,14 @@ https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages
https://rycee.gitlab.io/home-manager/options.html#opt-programs.fish.enable
- firejail
- git config
- dconf stuff
- mouse scroll direction
- super + q to close
- super + t for terminal
- enable touchpad while typing
- monitor dconf for changes and suggest adding to config ?
- gnome extensions
- kstatus
> bitborealis: in the oneplus 6 the sensors area connected to a separate low power processor
Some people are trying to write drivers for communicating with it but its still WIP

View File

@ -97,9 +97,6 @@ in {
# `nix search` to add more
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# unstable.fish
unstable.printrun
unstable.fluffychat
pass
git
neovim

21
hosts/uranus/default.nix Normal file
View File

@ -0,0 +1,21 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
];
programs.steam.enable = true;
programs.gamemode = {
enable = true;
settings = {
general = {
renice = 10;
};
# Warning: GPU optimisations have the potential to damage hardware
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
};
};
};
}

View File

@ -0,0 +1,40 @@
# 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" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/bdad9443-41e0-4a8f-b5b3-a93f51dc3a2a";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-1e816279-2666-41a6-bcb9-f97c2f7b3102".device = "/dev/disk/by-uuid/1e816279-2666-41a6-bcb9-f97c2f7b3102";
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/993B-1245";
fsType = "vfat";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp8s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20u3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@ -29,49 +29,46 @@
configDir = "/home/hive/.config/syncthing";
overrideDevices = false;
overrideFolders = false;
settings = {
devices = { "impostor" = {
id = "XBG44HU-OVOC6RN-4DHMDRH-WPL7OPW-XBYYOMK-DV5GGGA-LEP6HCJ-QVPMSAI";
introducer = true;
}; };
folders = {
"ssh" = {
id = "mkkgo-chqwk";
path = "~/.ssh";
devices = [ "impostor" ];
ignorePerms = false;
};
"decsync" = {
id = "20lk1-ims07";
path = "~/.local/share/decsync";
devices = [ "impostor" ];
};
"scripts" = {
id = "6nunu-quun5";
path = "~/.local/bin/scripts";
devices = [ "impostor" ];
};
"dotfiles" = {
id = "sjgew-vdpfl";
path = "~/.dotfiles";
devices = [ "impostor" ];
};
"password-store" = {
id = "tadwa-1va0d";
path = "~/.local/share/pass";
devices = [ "impostor" ];
};
"notes" = {
id = "y0a00-2ha8l";
path = "~/Notes";
devices = [ "impostor" ];
};
"documents" = {
id = "y7ecb-v9ds7";
path = "~/Documents";
devices = [ "impostor" ];
};
devices = { "impostor" = {
id = "XBG44HU-OVOC6RN-4DHMDRH-WPL7OPW-XBYYOMK-DV5GGGA-LEP6HCJ-QVPMSAI";
introducer = true;
}; };
folders = {
"ssh" = {
id = "mkkgo-chqwk";
path = "~/.ssh";
devices = [ "impostor" ];
ignorePerms = false;
};
"decsync" = {
id = "20lk1-ims07";
path = "~/.local/share/decsync";
devices = [ "impostor" ];
};
"scripts" = {
id = "6nunu-quun5";
path = "~/.local/bin/scripts";
devices = [ "impostor" ];
};
"dotfiles" = {
id = "sjgew-vdpfl";
path = "~/.dotfiles";
devices = [ "impostor" ];
};
"password-store" = {
id = "tadwa-1va0d";
path = "~/.local/share/pass";
devices = [ "impostor" ];
};
"notes" = {
id = "y0a00-2ha8l";
path = "~/Notes";
devices = [ "impostor" ];
};
"documents" = {
id = "y7ecb-v9ds7";
path = "~/Documents";
devices = [ "impostor" ];
};
};
};

View File

@ -17,9 +17,11 @@ sysConf: { config, pkgs, lib, ... }:
diceware
pwgen
kitty
schildichat-desktop
dino
mangohud
termpdfpy
lollypop
skim
syncthing
armcord