Move everything to correct places
|
|
@ -68,6 +68,9 @@ in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
reader
|
reader
|
||||||
tdf
|
tdf
|
||||||
|
slack
|
||||||
|
telegram-desktop
|
||||||
|
vesktop # Discord client
|
||||||
];
|
];
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
|
|
@ -101,6 +101,29 @@
|
||||||
Do not include a `Co-authored-by`.
|
Do not include a `Co-authored-by`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mcpServers = {
|
||||||
|
fetch = {
|
||||||
|
args = ["-y" "@modelcontextprotocol/server-fetch"];
|
||||||
|
command = "npx";
|
||||||
|
type = "stdio";
|
||||||
|
};
|
||||||
|
playwright = {
|
||||||
|
args = ["-y" "@modelcontextprotocol/server-playwright"];
|
||||||
|
command = "npx";
|
||||||
|
type = "stdio";
|
||||||
|
};
|
||||||
|
stackexchange = {
|
||||||
|
args = ["-y" "mcp-server-stackexchange"];
|
||||||
|
command = "npx";
|
||||||
|
type = "stdio";
|
||||||
|
};
|
||||||
|
arxiv = {
|
||||||
|
args = ["-y" "mcp-server-arxiv"];
|
||||||
|
command = "npx";
|
||||||
|
type = "stdio";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# inputs.ovos.homeManagerModules.default
|
# inputs.ovos.homeManagerModules.default
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./email.nix
|
./communication.nix
|
||||||
./gpg
|
./gpg
|
||||||
./niri
|
./niri
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
@ -27,8 +27,6 @@
|
||||||
cider-2 # Apple music player
|
cider-2 # Apple music player
|
||||||
fractal # Matrix client
|
fractal # Matrix client
|
||||||
gomuks # Matrix client TUI
|
gomuks # Matrix client TUI
|
||||||
telegram-desktop
|
|
||||||
vesktop # Discord client
|
|
||||||
filezilla # FTP Client
|
filezilla # FTP Client
|
||||||
mochi # SRS flashcards
|
mochi # SRS flashcards
|
||||||
];
|
];
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
wallpaper = {
|
wallpaper = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
overviewEnabled = false;
|
overviewEnabled = false;
|
||||||
directory = "/nix/harbor/desktops/configurations/home/toph@endurance/wallpapers";
|
directory = "/nix/harbor/desktops/home/wallpapers";
|
||||||
recursiveSearch = false;
|
recursiveSearch = false;
|
||||||
randomEnabled = true;
|
randomEnabled = true;
|
||||||
};
|
};
|
||||||
|
Before Width: | Height: | Size: 7.4 MiB After Width: | Height: | Size: 7.4 MiB |
|
Before Width: | Height: | Size: 424 KiB After Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 311 KiB After Width: | Height: | Size: 311 KiB |
|
Before Width: | Height: | Size: 345 KiB After Width: | Height: | Size: 345 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
mkHome = user: host: {
|
mkHome = user: host: {
|
||||||
imports = [
|
imports = [
|
||||||
(self + "/configurations/home/${user}@${host}")
|
(self + "/home")
|
||||||
|
# TODO: Import this conditionally!
|
||||||
|
# (self + "/home/by-host/${host}")
|
||||||
(self + "/modules/home")
|
(self + "/modules/home")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
mkHost = hostname: config:
|
mkHost = hostname: config:
|
||||||
{
|
{
|
||||||
path = ../../configurations/nixos/${hostname};
|
path = ../../hosts/${hostname};
|
||||||
deployable = true;
|
deployable = true;
|
||||||
specialArgs = {inherit inputs hostname;};
|
specialArgs = {inherit inputs hostname;};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,16 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
|
sddmTheme = pkgs.sddm-astronaut.override {
|
||||||
|
embeddedTheme = "japanese_aesthetic";
|
||||||
|
themeConfig = {
|
||||||
|
};
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
#inputs.niri.nixosModules.niri
|
#inputs.niri.nixosModules.niri
|
||||||
|
|
@ -18,6 +23,8 @@ in {
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
nautilus
|
nautilus
|
||||||
|
sddmTheme
|
||||||
|
kdePackages.qtmultimedia # required for our sddm theme
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri = {
|
programs.niri = {
|
||||||
|
|
@ -26,14 +33,28 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
xserver.enable = true;
|
xserver = {
|
||||||
|
enable = true;
|
||||||
|
displayManager.setupCommands = ''
|
||||||
|
/run/current-system/sw/bin/xrandr --output HDMI-A-1 --primary
|
||||||
|
/run/current-system/sw/bin/xrandr --output DP-3 --right-of HDMI-A-1 --rotate left
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
displayManager = {
|
displayManager = {
|
||||||
defaultSession = "niri";
|
defaultSession = "niri";
|
||||||
|
|
||||||
sddm = {
|
sddm = let
|
||||||
|
theme = "sddm-astronaut-theme";
|
||||||
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
package = pkgs.kdePackages.sddm;
|
||||||
|
|
||||||
|
# wayland.enable = true;
|
||||||
|
|
||||||
|
inherit theme;
|
||||||
|
extraPackages = [sddmTheme];
|
||||||
|
settings.Theme.Current = theme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
users = {
|
users = {
|
||||||
users.toph = {
|
users.toph = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
uid = 1000;
|
||||||
initialPassword = "wheel";
|
initialPassword = "wheel";
|
||||||
# hashedPasswordFile = config.age.secrets.tophPassword.path;
|
# hashedPasswordFile = config.age.secrets.tophPassword.path;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,11 @@
|
||||||
# wrapper that provides channels arg to each overlay
|
# wrapper that provides channels arg to each overlay
|
||||||
withChannels = overlayFn: final: prev: let
|
withChannels = overlayFn: final: prev: let
|
||||||
# Import channels with the same config as the main nixpkgs
|
# Import channels with the same config as the main nixpkgs
|
||||||
importChannel = input: import input {
|
importChannel = input:
|
||||||
system = final.stdenv.hostPlatform.system;
|
import input {
|
||||||
config = final.config;
|
system = final.stdenv.hostPlatform.system;
|
||||||
};
|
config = final.config;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
overlayFn {
|
overlayFn {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|
@ -31,4 +32,5 @@ in [
|
||||||
(withChannels (import ./lix.nix))
|
(withChannels (import ./lix.nix))
|
||||||
(withChannels (import ./packages.nix))
|
(withChannels (import ./packages.nix))
|
||||||
(withChannels (import ./unstable.nix))
|
(withChannels (import ./unstable.nix))
|
||||||
|
(withChannels (import ./spacedrive.nix))
|
||||||
]
|
]
|
||||||
|
|
|
||||||
12
overlays/spacedrive.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
channels,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: final: prev: {
|
||||||
|
spacedrive_v2 = channels.unstable.spacedrive.overrideAttrs (old: {
|
||||||
|
src = prev.fetchurl {
|
||||||
|
url = "https://github.com/spacedriveapp/spacedrive/releases/download/v2.0.0-alpha.1/Spacedrive-linux-x86_64.deb";
|
||||||
|
hash = lib.fakeHash;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{pkgs, ...}:
|
|
||||||
pkgs.writeShellApplication {
|
|
||||||
name = "connect-to-mercury";
|
|
||||||
text = builtins.readFile ./connect-to-mercury;
|
|
||||||
}
|
|
||||||