rearrange imports

This commit is contained in:
tristan 2024-01-06 17:40:24 +00:00
parent 4e86180652
commit e272155088
19 changed files with 245 additions and 312 deletions

View file

@ -1,10 +1,12 @@
{user}: {
{
config,
lib,
pkgs,
modulesPath,
...
}: {
}: let
user = config.user;
in {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];

View file

@ -1,13 +1,6 @@
{
pkgs,
user,
}: {
home-manager.users.${user}.imports = [
{
home.packages = with pkgs; [
oversteer
];
}
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
oversteer
];
environment.etc.logitechG920 = {

View file

@ -1,18 +1,11 @@
{user}: {
modulesPath,
lib,
config,
...
}: {
imports = [
];
{config, ...}: let
user = config.user;
in {
system.stateVersion = "24.05";
home-manager.users.${user}.imports = [
{
home.stateVersion = "24.05";
}
../home/programs/sway.nix
];
}

View file

@ -1,14 +1,16 @@
{user}: {
{
config,
lib,
pkgs,
modulesPath,
...
}: {
}: let
user = config.user;
in {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
./ddc.nix
(import ./g920.nix {inherit user pkgs;})
./g920.nix
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
@ -79,12 +81,6 @@
system.stateVersion = "22.11"; # do not change
virtualisation = {
podman = {
enable = true;
};
};
home-manager.users.${user}.imports = [
{
home.stateVersion = "22.05";