properly import with correct optionals
This commit is contained in:
parent
dcdfdbaa47
commit
714093946c
12 changed files with 88 additions and 81 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, ... }: lib.mkIf(config.withContainers) {
|
||||
{ lib, config, pkgs, ... }: lib.mkIf config.withContainers {
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ inputs, pkgs, lib, ... }: {
|
||||
imports = [
|
||||
./colors.nix
|
||||
./containers
|
||||
./games
|
||||
./gnome
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, ... }: lib.mkIf (config.withGames) {
|
||||
{ lib, config, pkgs, ... }: lib.mkIf config.withGames {
|
||||
programs.steam.enable = true;
|
||||
programs.gamescope.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.withGnome) {
|
||||
{ lib, config, ... }: lib.mkIf config.withGnome {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, ... }: lib.mkIf (config.withNiri) {
|
||||
{ lib, config, pkgs, ... }: lib.mkIf config.withNiri {
|
||||
programs.niri.enable = true;
|
||||
|
||||
home-manager.users.twoneis = {
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.user) {
|
||||
{ lib, config, ... }: {
|
||||
imports = [
|
||||
./programs.nix
|
||||
./themes.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf config.user{
|
||||
|
||||
# Audio
|
||||
security.rtkit.enable = true;
|
||||
|
||||
|
@ -28,4 +30,5 @@
|
|||
};
|
||||
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, ... }: {
|
||||
home-manager.users.twnoneis = {
|
||||
{ lib, config, pkgs, ... }: lib.mkIf config.user {
|
||||
home-manager.users.twoneis = {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./firefox.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf config.user {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
57621 # spotifyd
|
||||
];
|
||||
|
@ -67,4 +68,5 @@
|
|||
settings = import ./alacritty.conf.nix;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
home.file = {
|
||||
".gdbinit" = {
|
||||
source = ./gdbinit;
|
||||
source = ./gdbinit.conf;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.withVM) {
|
||||
{ lib, config, ... }: lib.mkIf config.withVM {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
users.users.twoneis.extraGroups = [ "libvirtd" ];
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
./devices/ellaca
|
||||
./modules
|
||||
./options.nix
|
||||
./colors.nix
|
||||
niri.nixosModules.niri
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
@ -30,6 +31,7 @@
|
|||
./devices/pleniscenta
|
||||
./modules
|
||||
./options.nix
|
||||
./colors.nix
|
||||
niri.nixosModules.niri
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
@ -47,6 +49,7 @@
|
|||
./devices/inkvine
|
||||
./modules
|
||||
./options.nix
|
||||
./colors.nix
|
||||
niri.nixosModules.niri
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue