Fixes
This commit is contained in:
parent
8fd62e3107
commit
3950978337
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
let
|
||||
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
|
@ -19,7 +19,7 @@ in
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "thompson";
|
||||
networking.hostName = "ritchie";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
@ -35,10 +35,10 @@ in
|
|||
|
||||
users.users.tsv = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
];
|
||||
initialPassword = "password";
|
||||
};
|
||||
|
||||
|
@ -61,11 +61,10 @@ in
|
|||
hardware.bluetooth.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
wget
|
||||
tmux
|
||||
git
|
||||
pciutils
|
||||
pciutils
|
||||
nvidia-offload
|
||||
];
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "thunderbolt" "vmd" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
email = trevor@tsvallender.co.uk
|
||||
[includeIf "gitdir:~/foxsoft/"]
|
||||
path = ~/.config/git/config_foxsoft
|
||||
[includeIf "gitdir:~/rightspend/"]
|
||||
path = ~/.config/git/config_rightspend
|
||||
[core]
|
||||
autocrlf = input
|
||||
safecrlf = true
|
||||
|
|
|
@ -29,20 +29,20 @@
|
|||
_1password-gui
|
||||
anki
|
||||
awsebcli
|
||||
bitwarden
|
||||
cachix
|
||||
calibre
|
||||
delta # Nice diffing pager for Git
|
||||
docker-compose
|
||||
firefox
|
||||
fzf
|
||||
gcc
|
||||
git-crypt
|
||||
gitflow
|
||||
gnupg
|
||||
gimp
|
||||
heroku
|
||||
htop
|
||||
kmail
|
||||
korganizer
|
||||
libreoffice
|
||||
nerdfonts
|
||||
ripgrep
|
||||
|
@ -52,19 +52,23 @@
|
|||
slack
|
||||
spotify
|
||||
thunderbird
|
||||
vimPlugins.vim-plug
|
||||
vimPlugins.packer-nvim
|
||||
wine
|
||||
winetricks
|
||||
zoom-us
|
||||
];
|
||||
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
pkgs.vimPlugins.packer-nvim
|
||||
];
|
||||
};
|
||||
|
||||
home.file.".bash_profile".source = ./bash_profile;
|
||||
home.file.".tmux.conf".source = ./tmux.conf;
|
||||
xdg.configFile."git/config".source = ./git/config;
|
||||
xdg.configFile."git/foxsoft_config".source = ./git/config_foxsoft;
|
||||
xdg.configFile."nvim/init.vim".source = ./nvim/init.vim;
|
||||
xdg.configFile."git/config_foxsoft".source = ./git/config_foxsoft;
|
||||
home.file.".ssh/config".source = ./ssh/config;
|
||||
home.file.".LESS_TERMCAP".source = ./LESS_TERMCAP;
|
||||
services.syncthing.enable = true;
|
||||
|
|
|
@ -4,8 +4,8 @@ Host kernighan
|
|||
User tsv
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host git.tsvallender.co.uk
|
||||
HostName git.tsvallender.co.uk
|
||||
Host git.tsvallender.co.uk
|
||||
HostName git.tsvallender.co.uk
|
||||
IdentityFile /home/tsv/.ssh/personal
|
||||
Port 222
|
||||
User tsv
|
||||
|
@ -20,3 +20,9 @@ Host git.foxsoft.co.uk
|
|||
HostName git.foxsoft.co.uk
|
||||
IdentityFile /home/tsv/.ssh/foxsoft
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host obs
|
||||
HostName obs.foxsoft.net
|
||||
IdentityFile /home/tsv/.ssh/foxsoft
|
||||
IdentitiesOnly yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue