Fix formatting
This commit is contained in:
@@ -24,6 +24,9 @@
|
|||||||
home-manager.users.root = import ./home/root.nix;
|
home-manager.users.root = import ./home/root.nix;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
syedm = nixpkgs.lib.nixosSystem {
|
syedm = nixpkgs.lib.nixosSystem {
|
||||||
@@ -43,5 +46,16 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# For development
|
||||||
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
nil
|
||||||
|
nixfmt
|
||||||
|
|
||||||
|
lua-language-server
|
||||||
|
stylua
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
battery = pkgs.writeShellScript "battery" ''
|
battery = pkgs.writeShellScript "battery" ''
|
||||||
|
|||||||
+244
-82
@@ -3,119 +3,281 @@
|
|||||||
{
|
{
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
theme = {
|
theme = {
|
||||||
colourful = true;
|
colourful = true;
|
||||||
|
|
||||||
filekinds = {
|
filekinds = {
|
||||||
normal = { foreground = "#c0caf5"; };
|
normal = {
|
||||||
directory = { foreground = "#7aa2f7"; };
|
foreground = "#c0caf5";
|
||||||
symlink = { foreground = "#2ac3de"; };
|
};
|
||||||
pipe = { foreground = "#414868"; };
|
directory = {
|
||||||
block_device = { foreground = "#e0af68"; };
|
foreground = "#7aa2f7";
|
||||||
char_device = { foreground = "#e0af68"; };
|
};
|
||||||
socket = { foreground = "#414868"; };
|
symlink = {
|
||||||
special = { foreground = "#9d7cd8"; };
|
foreground = "#2ac3de";
|
||||||
executable = { foreground = "#9ece6a"; };
|
};
|
||||||
mount_point = { foreground = "#b4f9f8"; };
|
pipe = {
|
||||||
|
foreground = "#414868";
|
||||||
|
};
|
||||||
|
block_device = {
|
||||||
|
foreground = "#e0af68";
|
||||||
|
};
|
||||||
|
char_device = {
|
||||||
|
foreground = "#e0af68";
|
||||||
|
};
|
||||||
|
socket = {
|
||||||
|
foreground = "#414868";
|
||||||
|
};
|
||||||
|
special = {
|
||||||
|
foreground = "#9d7cd8";
|
||||||
|
};
|
||||||
|
executable = {
|
||||||
|
foreground = "#9ece6a";
|
||||||
|
};
|
||||||
|
mount_point = {
|
||||||
|
foreground = "#b4f9f8";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
perms = {
|
perms = {
|
||||||
user_read = { foreground = "#2ac3de"; };
|
user_read = {
|
||||||
user_write = { foreground = "#bb9af7"; };
|
foreground = "#2ac3de";
|
||||||
user_execute_file = { foreground = "#9ece6a"; };
|
};
|
||||||
user_execute_other = { foreground = "#9ece6a"; };
|
user_write = {
|
||||||
group_read = { foreground = "#2ac3de"; };
|
foreground = "#bb9af7";
|
||||||
group_write = { foreground = "#ff9e64"; };
|
};
|
||||||
group_execute = { foreground = "#9ece6a"; };
|
user_execute_file = {
|
||||||
other_read = { foreground = "#2ac3de"; };
|
foreground = "#9ece6a";
|
||||||
other_write = { foreground = "#ff007c"; };
|
};
|
||||||
other_execute = { foreground = "#9ece6a"; };
|
user_execute_other = {
|
||||||
special_user_file = { foreground = "#ff007c"; };
|
foreground = "#9ece6a";
|
||||||
special_other = { foreground = "#db4b4b"; };
|
};
|
||||||
attribute = { foreground = "#737aa2"; };
|
group_read = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
group_write = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
group_execute = {
|
||||||
|
foreground = "#9ece6a";
|
||||||
|
};
|
||||||
|
other_read = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
other_write = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
|
other_execute = {
|
||||||
|
foreground = "#9ece6a";
|
||||||
|
};
|
||||||
|
special_user_file = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
|
special_other = {
|
||||||
|
foreground = "#db4b4b";
|
||||||
|
};
|
||||||
|
attribute = {
|
||||||
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
size = {
|
size = {
|
||||||
major = { foreground = "#2ac3de"; };
|
major = {
|
||||||
minor = { foreground = "#9d7cd8"; };
|
foreground = "#2ac3de";
|
||||||
number_byte = { foreground = "#a9b1d6"; };
|
};
|
||||||
number_kilo = { foreground = "#89ddff"; };
|
minor = {
|
||||||
number_mega = { foreground = "#2ac3de"; };
|
foreground = "#9d7cd8";
|
||||||
number_giga = { foreground = "#ff9e64"; };
|
};
|
||||||
number_huge = { foreground = "#ff007c"; };
|
number_byte = {
|
||||||
unit_byte = { foreground = "#a9b1d6"; };
|
foreground = "#a9b1d6";
|
||||||
unit_kilo = { foreground = "#89ddff"; };
|
};
|
||||||
unit_mega = { foreground = "#2ac3de"; };
|
number_kilo = {
|
||||||
unit_giga = { foreground = "#ff9e64"; };
|
foreground = "#89ddff";
|
||||||
unit_huge = { foreground = "#ff007c"; };
|
};
|
||||||
|
number_mega = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
number_giga = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
number_huge = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
|
unit_byte = {
|
||||||
|
foreground = "#a9b1d6";
|
||||||
|
};
|
||||||
|
unit_kilo = {
|
||||||
|
foreground = "#89ddff";
|
||||||
|
};
|
||||||
|
unit_mega = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
unit_giga = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
unit_huge = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
user_you = { foreground = "#3d59a1"; };
|
user_you = {
|
||||||
user_root = { foreground = "#bb9af7"; };
|
foreground = "#3d59a1";
|
||||||
user_other = { foreground = "#2ac3de"; };
|
};
|
||||||
group_yours = { foreground = "#89ddff"; };
|
user_root = {
|
||||||
group_root = { foreground = "#bb9af7"; };
|
foreground = "#bb9af7";
|
||||||
group_other = { foreground = "#c0caf5"; };
|
};
|
||||||
|
user_other = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
group_yours = {
|
||||||
|
foreground = "#89ddff";
|
||||||
|
};
|
||||||
|
group_root = {
|
||||||
|
foreground = "#bb9af7";
|
||||||
|
};
|
||||||
|
group_other = {
|
||||||
|
foreground = "#c0caf5";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
links = {
|
links = {
|
||||||
normal = { foreground = "#89ddff"; };
|
normal = {
|
||||||
multi_link_file = { foreground = "#2ac3de"; };
|
foreground = "#89ddff";
|
||||||
|
};
|
||||||
|
multi_link_file = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
new = { foreground = "#9ece6a"; };
|
new = {
|
||||||
modified = { foreground = "#bb9af7"; };
|
foreground = "#9ece6a";
|
||||||
deleted = { foreground = "#db4b4b"; };
|
};
|
||||||
renamed = { foreground = "#2ac3de"; };
|
modified = {
|
||||||
typechange = { foreground = "#2ac3de"; };
|
foreground = "#bb9af7";
|
||||||
ignored = { foreground = "#545c7e"; };
|
};
|
||||||
conflicted = { foreground = "#ff9e64"; };
|
deleted = {
|
||||||
|
foreground = "#db4b4b";
|
||||||
|
};
|
||||||
|
renamed = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
typechange = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
ignored = {
|
||||||
|
foreground = "#545c7e";
|
||||||
|
};
|
||||||
|
conflicted = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
git_repo = {
|
git_repo = {
|
||||||
branch_main = { foreground = "#737aa2"; };
|
branch_main = {
|
||||||
branch_other = { foreground = "#b4f9f8"; };
|
foreground = "#737aa2";
|
||||||
git_clean = { foreground = "#292e42"; };
|
};
|
||||||
git_dirty = { foreground = "#bb9af7"; };
|
branch_other = {
|
||||||
|
foreground = "#b4f9f8";
|
||||||
|
};
|
||||||
|
git_clean = {
|
||||||
|
foreground = "#292e42";
|
||||||
|
};
|
||||||
|
git_dirty = {
|
||||||
|
foreground = "#bb9af7";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security_context = {
|
security_context = {
|
||||||
colon = { foreground = "#545c7e"; };
|
colon = {
|
||||||
user = { foreground = "#737aa2"; };
|
foreground = "#545c7e";
|
||||||
role = { foreground = "#2ac3de"; };
|
};
|
||||||
typ = { foreground = "#3d59a1"; };
|
user = {
|
||||||
range = { foreground = "#9d7cd8"; };
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
|
role = {
|
||||||
|
foreground = "#2ac3de";
|
||||||
|
};
|
||||||
|
typ = {
|
||||||
|
foreground = "#3d59a1";
|
||||||
|
};
|
||||||
|
range = {
|
||||||
|
foreground = "#9d7cd8";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
file_type = {
|
file_type = {
|
||||||
image = { foreground = "#89ddff"; };
|
image = {
|
||||||
video = { foreground = "#b4f9f8"; };
|
foreground = "#89ddff";
|
||||||
music = { foreground = "#73daca"; };
|
};
|
||||||
lossless = { foreground = "#41a6b5"; };
|
video = {
|
||||||
crypto = { foreground = "#db4b4b"; };
|
foreground = "#b4f9f8";
|
||||||
document = { foreground = "#a9b1d6"; };
|
};
|
||||||
compressed = { foreground = "#ff9e64"; };
|
music = {
|
||||||
temp = { foreground = "#737aa2"; };
|
foreground = "#73daca";
|
||||||
compiled = { foreground = "#737aa2"; };
|
};
|
||||||
build = { foreground = "#1abc9c"; };
|
lossless = {
|
||||||
source = { foreground = "#bb9af7"; };
|
foreground = "#41a6b5";
|
||||||
|
};
|
||||||
|
crypto = {
|
||||||
|
foreground = "#db4b4b";
|
||||||
|
};
|
||||||
|
document = {
|
||||||
|
foreground = "#a9b1d6";
|
||||||
|
};
|
||||||
|
compressed = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
temp = {
|
||||||
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
|
compiled = {
|
||||||
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
|
build = {
|
||||||
|
foreground = "#1abc9c";
|
||||||
|
};
|
||||||
|
source = {
|
||||||
|
foreground = "#bb9af7";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
punctuation = { foreground = "#292e42"; };
|
punctuation = {
|
||||||
date = { foreground = "#e0af68"; };
|
foreground = "#292e42";
|
||||||
inode = { foreground = "#737aa2"; };
|
};
|
||||||
blocks = { foreground = "#737aa2"; };
|
date = {
|
||||||
header = { foreground = "#a9b1d6"; };
|
foreground = "#e0af68";
|
||||||
octal = { foreground = "#ff9e64"; };
|
};
|
||||||
flags = { foreground = "#9d7cd8"; };
|
inode = {
|
||||||
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
|
blocks = {
|
||||||
|
foreground = "#737aa2";
|
||||||
|
};
|
||||||
|
header = {
|
||||||
|
foreground = "#a9b1d6";
|
||||||
|
};
|
||||||
|
octal = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
flags = {
|
||||||
|
foreground = "#9d7cd8";
|
||||||
|
};
|
||||||
|
|
||||||
symlink_path = { foreground = "#89ddff"; };
|
symlink_path = {
|
||||||
control_char = { foreground = "#ff9e64"; };
|
foreground = "#89ddff";
|
||||||
broken_symlink = { foreground = "#ff007c"; };
|
};
|
||||||
broken_path_overlay = { foreground = "#ff007c"; };
|
control_char = {
|
||||||
|
foreground = "#ff9e64";
|
||||||
|
};
|
||||||
|
broken_symlink = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
|
broken_path_overlay = {
|
||||||
|
foreground = "#ff007c";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ let
|
|||||||
script = pkgs.substitute {
|
script = pkgs.substitute {
|
||||||
src = ./config.rb;
|
src = ./config.rb;
|
||||||
substitutions = [
|
substitutions = [
|
||||||
"--replace-fail" "@src@" "${./scripts}"
|
"--replace-fail"
|
||||||
|
"@src@"
|
||||||
|
"${./scripts}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -41,12 +41,6 @@
|
|||||||
p.cpp
|
p.cpp
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
lua-language-server
|
|
||||||
clang-tools
|
|
||||||
stylua
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/nvim".source = ./.;
|
home.file.".config/nvim".source = ./.;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
require("formatting")
|
||||||
require("extra")
|
require("extra")
|
||||||
require("keymaps")
|
require("keymaps")
|
||||||
require("lsp")
|
require("lsp")
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
require("conform").setup({
|
||||||
|
formatters_by_ft = {
|
||||||
|
lua = { "stylua" },
|
||||||
|
nix = { "nixfmt" },
|
||||||
|
},
|
||||||
|
|
||||||
|
format_on_save = {
|
||||||
|
timeout_ms = 500,
|
||||||
|
lsp_fallback = true,
|
||||||
|
},
|
||||||
|
})
|
||||||
+11
-16
@@ -5,24 +5,19 @@ vim.lsp.config("lua_ls", {
|
|||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
diagnostics = {
|
diagnostics = { globals = { "vim" } },
|
||||||
globals = {
|
workspace = { library = vim.api.nvim_get_runtime_file("", true) },
|
||||||
"vim",
|
telemetry = { enable = false },
|
||||||
},
|
|
||||||
},
|
|
||||||
workspace = {
|
|
||||||
library = vim.api.nvim_get_runtime_file("", true),
|
|
||||||
},
|
|
||||||
telemetry = {
|
|
||||||
enable = false,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.config("clangd", {
|
local servers = { "clangd", "nil", "solargraph", "hls" }
|
||||||
capabilities = capabilities,
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.lsp.enable("lua_ls")
|
for _, server in ipairs(servers) do
|
||||||
vim.lsp.enable("clangd")
|
vim.lsp.config(server, { capabilities = capabilities })
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.list_extend(servers, { "lua_ls" })
|
||||||
|
|
||||||
|
vim.lsp.enable(servers)
|
||||||
|
|||||||
@@ -60,17 +60,6 @@ require("nvim-cursorline").setup({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
require("conform").setup({
|
|
||||||
formatters_by_ft = {
|
|
||||||
lua = { "stylua" },
|
|
||||||
},
|
|
||||||
|
|
||||||
format_on_save = {
|
|
||||||
timeout_ms = 500,
|
|
||||||
lsp_fallback = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
window = {
|
window = {
|
||||||
|
|||||||
@@ -24,14 +24,4 @@ in
|
|||||||
exec ~/.xsession
|
exec ~/.xsession
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.spicetify = {
|
|
||||||
enable = true;
|
|
||||||
enabledExtensions = with spicePkgs.extensions; [
|
|
||||||
adblockify
|
|
||||||
hidePodcasts
|
|
||||||
];
|
|
||||||
theme = spicePkgs.themes.catppuccin;
|
|
||||||
colorScheme = "mocha";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{pkgs, ...}:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
tkn-repo = pkgs.fetchFromGitHub {
|
tkn-repo = pkgs.fetchFromGitHub {
|
||||||
@@ -43,6 +43,6 @@ in
|
|||||||
require("git"):setup {
|
require("git"):setup {
|
||||||
order = 1500,
|
order = 1500,
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-9
@@ -1,15 +1,16 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
../modules/secrets
|
||||||
../modules/secrets
|
];
|
||||||
];
|
|
||||||
|
|
||||||
boot.resumeDevice =
|
boot.resumeDevice =
|
||||||
if config.swapDevices != []
|
if config.swapDevices != [ ] then (builtins.head config.swapDevices).device else null;
|
||||||
then (builtins.head config.swapDevices).device
|
|
||||||
else null;
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@@ -44,7 +45,12 @@
|
|||||||
users.users.me = {
|
users.users.me = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
extraGroups = [ "wheel" "video" "networkmanager" "input" ];
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"video"
|
||||||
|
"networkmanager"
|
||||||
|
"input"
|
||||||
|
];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
||||||
|
|||||||
+13
-10
@@ -1,14 +1,13 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
./hardware-configuration.nix
|
||||||
./hardware-configuration.nix
|
|
||||||
|
|
||||||
../../modules/cloudflare-ddns
|
../../modules/cloudflare-ddns
|
||||||
../../modules/gitea
|
../../modules/gitea
|
||||||
../../modules/msjd
|
../../modules/msjd
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "syedm";
|
networking.hostName = "syedm";
|
||||||
|
|
||||||
@@ -37,8 +36,12 @@
|
|||||||
tempAddresses = "disabled";
|
tempAddresses = "disabled";
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 22 80 443 ];
|
allowedTCPPorts = [
|
||||||
allowedUDPPorts = [];
|
22
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [ ];
|
||||||
allowPing = true;
|
allowPing = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
+31
-23
@@ -1,30 +1,38 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
../../modules/ollama
|
||||||
|
../../modules/workstation/graphics.nix
|
||||||
|
../../modules/workstation/audio.nix
|
||||||
|
../../modules/workstation/xserver.nix
|
||||||
|
../../modules/workstation/keyd.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = lib.mkAfter (
|
||||||
|
with pkgs;
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
firefox
|
||||||
|
xdg-utils
|
||||||
|
dmenu
|
||||||
|
pulseaudio
|
||||||
|
brightnessctl
|
||||||
|
maim
|
||||||
|
xclip
|
||||||
|
xsel
|
||||||
|
prismlauncher
|
||||||
|
spotify
|
||||||
|
|
||||||
../../modules/ollama
|
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
||||||
../../modules/workstation/graphics.nix
|
]
|
||||||
../../modules/workstation/audio.nix
|
);
|
||||||
../../modules/workstation/xserver.nix
|
|
||||||
../../modules/workstation/keyd.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = lib.mkAfter (with pkgs; [
|
|
||||||
firefox
|
|
||||||
xdg-utils
|
|
||||||
dmenu
|
|
||||||
pulseaudio
|
|
||||||
brightnessctl
|
|
||||||
maim
|
|
||||||
xclip
|
|
||||||
xsel
|
|
||||||
prismlauncher
|
|
||||||
|
|
||||||
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
|
||||||
]);
|
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts.hurmit
|
nerd-fonts.hurmit
|
||||||
|
|||||||
Reference in New Issue
Block a user