Revert "please work"

This reverts commit 42ade27956.
This commit is contained in:
Sakooooo 2023-07-07 23:00:28 +03:00
parent a406716d74
commit cc6aadec0a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
22 changed files with 21 additions and 108 deletions

View file

@ -6,32 +6,6 @@
# modules
#i dont think this is right
#./modules
outputs.nixosModules.desktop
outputs.nixosModules.desktop.bspwm
outputs.nixosModules.desktop.kitty
outputs.nixosModules.desktop.keepassxc
outputs.nixosModules.desktop.web.qutebrowser
outputs.nixosModules.desktop.game.steam
outputs.nixosModules.desktop.game.wine
outputs.nixosModules.desktop.game.lutris
outputs.nixosModules.desktop.chat.discord
outputs.nixosModules.dev
outputs.nixosModules.dev.editors
outputs.nixosModules.dev.editors.nvim
outputs.nixosModules.dev.cpp
outputs.nixosModules.dev.javascript
outputs.nixosModules.dev.python
outputs.nixosModules.dev.rust
outputs.nixosModules.devices
outputs.nixosModules.devices.nvidia
outputs.nixosModules.devices.pipewire
outputs.nixosModules.devices.bluetooth
outputs.nixosModules.media
outputs.nixosModules.media.mpd
outputs.nixosModules.media.ncmpcpp
outputs.nixosModules.shell
outputs.nixosModules.shell.newsboat
outputs.nixosModules.shell.zsh
];
nix.settings.experimental-features = [ "nix-command" "flakes"];

View file

@ -7,7 +7,6 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../default.nix
];
modules = {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.bspwm;
in {
options.modules.desktop.bspwm = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.chat.discord;
in {
options.modules.desktop.chat.discord = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.game.lutris;
in {
options.modules.desktop.game.lutris = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.game.steam;
in {
options.modules.desktop.game.steam = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -2,11 +2,8 @@
with lib;
let cfg = config.modules.desktop.game.wine;
in {
options.modules.desktop.game.wine = {
enable = mkOption {
type = types.bool;
default = false;
};
options.modules.desktop.game.wine= {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.keepassxc;
in {
options.modules.desktop.keepassxc = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.desktop.kitty;
in {
options.modules.desktop.kitty = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.web.qutebrowser;
in {
options.modules.web.qutebrowser = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.dev.cpp;
in {
options.modules.dev.cpp = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.dev.editors.nvim;
in {
options.modules.dev.editors.nvim = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.dev.javascript;
in {
options.modules.dev.javascript = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.dev.python;
in {
options.modules.dev.python= {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.dev.rust;
in {
options.modules.dev.rust = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.devices.bluetooth;
in {
options.modules.devices.bluetooth = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.devices.nvidia;
in {
options.modules.devices.nvidia = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.devices.pipewire;
in {
options.modules.devices.pipewire= {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.media.mpd;
in {
options.modules.media.mpd = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
services.mpd = {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.media.ncmpcpp;
in {
options.modules.media.ncmpcpp = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.shell.newsboat;
in {
options.modules.shell.newsboat= {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {

View file

@ -3,10 +3,7 @@ with lib;
let cfg = config.modules.shell.zsh;
in {
options.modules.shell.zsh = {
enable = mkOption {
type = types.bool;
default = false;
};
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {