nixpkgs-fmt
This commit is contained in:
parent
3924624e75
commit
f422ad701c
11 changed files with 61 additions and 32 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1654593855,
|
||||
"narHash": "sha256-c+SyXvj7THre87OyIdZfRVR+HhI/g1ZDrQ3VUtTuHkU=",
|
||||
"lastModified": 1654682581,
|
||||
"narHash": "sha256-Jb1PQCwKgwdNAp907eR5zPzuxV+kRroA3UIxUxCMJ9s=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "033bd4fa9a8fbe0c68a88e925d9a884161044b25",
|
||||
"rev": "e0169d7a9d324afebf5679551407756c77af8930",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -62,8 +62,16 @@
|
|||
# Users
|
||||
users.users.grue = {
|
||||
createHome = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "wireshark" "video"
|
||||
"libvirtd" "plugdev" "dialout" "bluetooth" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"wireshark"
|
||||
"video"
|
||||
"libvirtd"
|
||||
"plugdev"
|
||||
"dialout"
|
||||
"bluetooth"
|
||||
];
|
||||
group = "users";
|
||||
home = "/home/grue";
|
||||
isNormalUser = true;
|
||||
|
@ -75,6 +83,8 @@
|
|||
package = pkgs.wireshark;
|
||||
};
|
||||
|
||||
|
||||
programs.steam.enable = true;
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
|
@ -14,7 +15,8 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "noatime" "compress=zstd" ];
|
||||
};
|
||||
|
@ -22,24 +24,28 @@
|
|||
boot.initrd.luks.devices."nixos-crypt".device = "/dev/disk/by-uuid/dbee4082-85ae-40f0-9c80-034f3574688f";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/4B02-CE16";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/4B02-CE16";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" "noatime" "compress=zstd" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "noatime" "compress=zstd" ];
|
||||
};
|
||||
|
||||
fileSystems."/tmp" =
|
||||
{ device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/f9edd500-f47b-42e5-9b88-7b6d86f76caa";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=tmp" "noatime" "compress=zstd" ];
|
||||
};
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
|
||||
registry.microvm = {
|
||||
from = {
|
||||
type = "indirect";
|
||||
|
|
3
modules/entertainment.nix
Normal file
3
modules/entertainment.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ pkgs, ... }
|
||||
{
|
||||
}
|
|
@ -133,5 +133,11 @@
|
|||
programs.bash.vteIntegration = true;
|
||||
services.upower.enable = true;
|
||||
|
||||
services.udisks2.enable = true;
|
||||
environment.shellAliases = {
|
||||
mnt = "udisksctl mount -b";
|
||||
umnt = "udisksctl unmount -b";
|
||||
};
|
||||
|
||||
qt5.platformTheme = "gnome";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue