Compare commits

...

3 commits

3 changed files with 35 additions and 0 deletions

View file

@ -9,6 +9,7 @@
]; ];
# Enabke support for the Xbox One wireless dongle # Enabke support for the Xbox One wireless dongle
# Enable support for the Xbox One wireless dongle
hardware.xone.enable = true; hardware.xone.enable = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
@ -39,6 +40,19 @@
fsType = "vfat"; fsType = "vfat";
}; };
/*
Mount the root subvolume of the SSD
This is helpful for getting things from
my old Arch install, as well as for running btdu
*/
fileSystems = {
"/mnt/ssd" = {
device = config.fileSystems."/".device;
fsType = config.fileSystems."/".fsType;
options = [ "subvolid=5" "ro" ];
};
};
swapDevices = [ ]; swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -4,5 +4,6 @@
imports = [ imports = [
./discord.nix ./discord.nix
./firefox.nix ./firefox.nix
./keepassxc.nix
]; ];
} }

View file

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
# I'm only using keepass on my user, so I'm installing it with home-manager
home-manager = {
/*
TODO: move home-manager settings into the common role
They are not keepass specific, so they really should
not be here. I'm too lazy to do it now tho :P
*/
backupFileExtension = "backup";
useGlobalPkgs = true;
users.toast = { config, pkgs, ... }: {
home = {
stateVersion = "23.05";
packages = [ pkgs.keepassxc ];
};
};
};
}