misc changes

This commit is contained in:
Vinzenz Schroeter 2023-09-09 14:57:55 +02:00
parent fae9e32045
commit a24b916572
5 changed files with 118 additions and 117 deletions

View file

@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
let
}: let
cfg = config.my.gnome;
in {
options.my.gnome = {
@ -42,7 +41,7 @@ in {
];
home-manager.users = {
vinzenz = {pkgs, ...}: {
vinzenz = lib.mkIf config.my.users.vinzenz.enable {
home.packages = with pkgs; [
gnome.gpaste
amberol

View file

@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
let
}: let
cfg = config.my.users.vinzenz;
in {
options.my.users.vinzenz = {

View file

@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
let
}: let
cfg = config.my.kde;
in {
options.my.kde = {

View file

@ -4,13 +4,14 @@
pkgs,
...
}: {
imports = [./my/default.nix];
config = {
networking.hostName = "vinzenz-lpt";
my.gnome.enable = true;
my.users.vinzenz.enable = true;
imports = [./my/default.nix];
services.flatpak.enable = true;
boot = {
@ -49,4 +50,5 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}

View file

@ -4,6 +4,9 @@
pkgs,
...
}: {
imports = [./my/default.nix];
config = {
networking.hostName = "vinzenz-pc3";
my.kde.enable = true;
@ -12,8 +15,6 @@
ronja.enable = true;
};
imports = [./my/default.nix];
users.groups."games" = {
members = ["vinzenz" "ronja"];
};
@ -80,4 +81,5 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}