mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
fix: remove dead code
This commit is contained in:
parent
dbbac0ae23
commit
862395c45b
5 changed files with 9 additions and 5 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
result
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.strings) concatStringsSep fixedWidthNumber hasInfix;
|
inherit (lib.strings) fixedWidthNumber hasInfix;
|
||||||
inherit (lib.attrsets) mapAttrs filterAttrs;
|
inherit (lib.attrsets) mapAttrs filterAttrs;
|
||||||
packDir = builtins.toString(pkgs.vimUtils.packDir config.programs.neovim.generatedConfigViml.configure.packages);
|
packDir = builtins.toString(pkgs.vimUtils.packDir config.programs.neovim.generatedConfigViml.configure.packages);
|
||||||
initLua = pkgs.substituteAll ({
|
initLua = pkgs.substituteAll ({
|
||||||
|
|
@ -49,7 +49,7 @@ in mkIf config.programs.neovim.enable {
|
||||||
bufferline-nvim
|
bufferline-nvim
|
||||||
# Language Server
|
# Language Server
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
(pkgs.vimPlugins.nvim-treesitter.withPlugins (plugins: with pkgs.tree-sitter-grammars; [
|
(pkgs.vimPlugins.nvim-treesitter.withPlugins (_: with pkgs.tree-sitter-grammars; [
|
||||||
tree-sitter-c
|
tree-sitter-c
|
||||||
tree-sitter-lua
|
tree-sitter-lua
|
||||||
tree-sitter-rust
|
tree-sitter-rust
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf config.role.gnome {
|
config = mkIf config.role.gnome {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
displayManager.gdm.enable = true;
|
displayManager.gdm.enable = true;
|
||||||
};
|
};
|
||||||
|
|
@ -10,6 +11,11 @@ in {
|
||||||
environment.systemPackages = with pkgs.gnomeExtensions; [
|
environment.systemPackages = with pkgs.gnomeExtensions; [
|
||||||
dash-to-dock
|
dash-to-dock
|
||||||
gsconnect
|
gsconnect
|
||||||
|
appindicator
|
||||||
|
];
|
||||||
|
|
||||||
|
services.udev.packages = with pkgs.gnome; [
|
||||||
|
gnome-settings-daemon
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,6 @@
|
||||||
}).impure;
|
}).impure;
|
||||||
lib = inputs.nixpkgs.lib;
|
lib = inputs.nixpkgs.lib;
|
||||||
inherit (lib.attrsets) mapAttrs;
|
inherit (lib.attrsets) mapAttrs;
|
||||||
inherit (builtins) removeAttrs;
|
|
||||||
inherit (lib.lists) singleton;
|
|
||||||
in utils.lib.mkFlake {
|
in utils.lib.mkFlake {
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
supportedSystems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, lib, ... }: let
|
{ config, lib, ... }: let
|
||||||
inherit (lib.options) mkOption mdDoc;
|
inherit (lib.options) mkOption mdDoc;
|
||||||
inherit (lib.modules) mkIf mkDefault;
|
|
||||||
inherit (lib.types) bool;
|
inherit (lib.types) bool;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue