formatted
This commit is contained in:
parent
0e10b72290
commit
5ffd2cdeeb
12
flake.nix
12
flake.nix
|
@ -57,11 +57,13 @@
|
||||||
nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules =
|
||||||
./hosts/BICEP/configuration.nix
|
[
|
||||||
./modules/nixos-common.nix
|
./hosts/BICEP/configuration.nix
|
||||||
{nixpkgs.overlays = overlays;}
|
./modules/nixos-common.nix
|
||||||
] ++ home-manager-config ./users/tacocat/home.nix;
|
{nixpkgs.overlays = overlays;}
|
||||||
|
]
|
||||||
|
++ home-manager-config ./users/tacocat/home.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
# laptop
|
# laptop
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{...}: {
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
@ -1,36 +1,40 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
];
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/7204d9a8-ccfd-4fa7-8b94-c791ad80a34f";
|
device = "/dev/disk/by-uuid/7204d9a8-ccfd-4fa7-8b94-c791ad80a34f";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/AB77-4404";
|
device = "/dev/disk/by-uuid/AB77-4404";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/secondary" =
|
fileSystems."/mnt/secondary" = {
|
||||||
{ device = "/dev/disk/by-uuid/7408a47c-4fe5-482f-84f0-fa27d86570fc";
|
device = "/dev/disk/by-uuid/7408a47c-4fe5-482f-84f0-fa27d86570fc";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices = [
|
||||||
[ { device = "/dev/disk/by-uuid/614e4b01-8946-44fc-a4b3-d53499f29a3e"; }
|
{device = "/dev/disk/by-uuid/614e4b01-8946-44fc-a4b3-d53499f29a3e";}
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|
||||||
# ------------ System ------------
|
# ------------ System ------------
|
||||||
|
|
||||||
users.users.tacocat = {
|
users.users.tacocat = {
|
||||||
|
@ -82,7 +81,7 @@
|
||||||
|
|
||||||
programs.nix-index.enable = true;
|
programs.nix-index.enable = true;
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
# ------------ Software ------------
|
# ------------ Software ------------
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
@ -117,11 +116,11 @@
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
programs.steam.remotePlay.openFirewall = true;
|
programs.steam.remotePlay.openFirewall = true;
|
||||||
# programs.steam.gamescopeSession = {
|
# programs.steam.gamescopeSession = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# args = [
|
# args = [
|
||||||
# "-f"
|
# "-f"
|
||||||
# "--expose-wayland"
|
# "--expose-wayland"
|
||||||
# ];
|
# ];
|
||||||
# };
|
# };
|
||||||
programs.gamemode.enable = true;
|
programs.gamemode.enable = true;
|
||||||
# programs.gamescope.enable = true;
|
# programs.gamescope.enable = true;
|
||||||
|
@ -143,6 +142,4 @@
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
accounts.email.accounts = {
|
accounts.email.accounts = {
|
||||||
"aria" = {
|
"aria" = {
|
||||||
address = "aria@chytrid.org";
|
address = "aria@chytrid.org";
|
||||||
userName = "aria@chytrid.org";
|
userName = "aria@chytrid.org";
|
||||||
|
|
|
@ -332,5 +332,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue