path
This commit is contained in:
parent
b1e6f4256f
commit
e683317ab3
5 changed files with 35 additions and 35 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./helix.nix
|
./helix.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./persist.nix
|
# ./persist.nix
|
||||||
./playerctld.nix
|
./playerctld.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
|
|
|
||||||
|
|
@ -23,12 +23,12 @@
|
||||||
".config/obsidian"
|
".config/obsidian"
|
||||||
".config/spotify"
|
".config/spotify"
|
||||||
(
|
(
|
||||||
lib.mkIf
|
lib.optionals
|
||||||
config.gaming.enable
|
config.gaming.enable
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
lib.mkIf
|
lib.optionals
|
||||||
config.gaming.enable
|
config.gaming.enable
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
# 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 = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||||
|
|
@ -13,26 +17,18 @@
|
||||||
boot.kernelModules = [];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/080fa116-424e-4079-a2a6-658a230e2721";
|
device = "/dev/disk/by-uuid/080fa116-424e-4079-a2a6-658a230e2721";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/40E8-A12D";
|
device = "/dev/disk/by-uuid/40E8-A12D";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [];
|
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.enp0s31f6.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
conf,
|
conf,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
|
|
@ -14,18 +15,21 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = inputs // {system-config = config;};
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
conf = conf;
|
||||||
|
};
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users = let
|
home-manager.users = let
|
||||||
hm = {user = [];}; # import ../home;
|
hm = import ../home;
|
||||||
in {
|
in {
|
||||||
${conf.user} = {
|
${conf.user} = {
|
||||||
imports = hm.user;
|
imports = hm.user;
|
||||||
# home.username = conf.user;
|
home.username = conf.user;
|
||||||
# home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.zsh.enable = true;
|
# programs.zsh.enable = true;
|
||||||
users.defaultUserShell = pkgs.zsh;
|
# users.defaultUserShell = pkgs.zsh;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue