Move everything to correct places

This commit is contained in:
Christopher Mühl 2026-01-13 10:32:10 +01:00
parent 9046677414
commit ccf1408352
No known key found for this signature in database
GPG key ID: 925AC7D69955293F
51 changed files with 76 additions and 19 deletions

View file

@ -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 = {

View file

@ -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";
};
};
}; };
}; };
} }

View file

@ -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

View file

@ -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
]; ];

View file

@ -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;
}; };

View file

Before

Width:  |  Height:  |  Size: 7.4 MiB

After

Width:  |  Height:  |  Size: 7.4 MiB

View file

Before

Width:  |  Height:  |  Size: 424 KiB

After

Width:  |  Height:  |  Size: 424 KiB

View file

Before

Width:  |  Height:  |  Size: 311 KiB

After

Width:  |  Height:  |  Size: 311 KiB

View file

Before

Width:  |  Height:  |  Size: 345 KiB

After

Width:  |  Height:  |  Size: 345 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

View file

@ -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")
]; ];
}; };

View file

@ -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;};
} }

View file

@ -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;
}; };
}; };
}; };

View file

@ -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;

View file

@ -8,7 +8,8 @@
# 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:
import input {
system = final.stdenv.hostPlatform.system; system = final.stdenv.hostPlatform.system;
config = final.config; config = final.config;
}; };
@ -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
View 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;
};
});
}

View file

@ -1,5 +0,0 @@
{pkgs, ...}:
pkgs.writeShellApplication {
name = "connect-to-mercury";
text = builtins.readFile ./connect-to-mercury;
}