Compare commits

...

4 Commits

Author SHA1 Message Date
uttarayan21
24fab1402b feat(ssh): update hostnames and comment out mirai block from ssh config
Some checks are pending
Flake checker / Build Nix targets (push) Waiting to run
2025-12-06 05:53:30 +05:30
uttarayan21
5e7bb9c986 fix(configuration): set uid for remotebuilder user
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
2025-12-06 03:44:52 +05:30
uttarayan21
0dda14266d feat(configuration): enable Nix and upgrade system state version
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
2025-12-06 03:42:04 +05:30
uttarayan21
0b1924359e feat(gtk): force dark color scheme for ryu device 2025-12-06 03:36:58 +05:30
8 changed files with 24 additions and 17 deletions

View File

@@ -8,7 +8,7 @@
# environment.systemPackages = with pkgs; [nix neovim];
nix = {
enable = false;
enable = true;
settings = {
experimental-features = "nix-command flakes auto-allocate-uids";
max-jobs = 8;
@@ -43,10 +43,9 @@
];
};
users.users.remotebuilder = {
# isSystemUser = true;
description = "User for Nix remote builds";
# uid = 700;
home = "/var/remotebuilder";
uid = 700;
# home = "/var/remotebuilder";
createHome = true;
shell = "/bin/bash";
openssh.authorizedKeys.keyFiles = [
@@ -77,7 +76,7 @@
# services.nix-daemon.enable = true;
system.primaryUser = "servius";
system.stateVersion = 4;
system.stateVersion = 5;
system.keyboard.enableKeyMapping = true;
system.keyboard.remapCapsLockToControl = true;

View File

@@ -9,17 +9,17 @@
matchBlocks = {
tsuba = {
user = "servius";
hostname = "tsuba";
hostname = "tsuba.darksailor.dev";
};
github = {
user = "git";
host = "github.com";
};
mirai = {
user = "fs0c131y";
hostname = "mirai.darksailor.dev";
forwardAgent = true;
};
# mirai = {
# user = "fs0c131y";
# hostname = "mirai.darksailor.dev";
# forwardAgent = true;
# };
tako = {
user = "servius";
hostname = "tako.darksailor.dev";
@@ -27,7 +27,7 @@
};
ryu = {
user = "servius";
hostname = "ryu";
hostname = "ryu.darksailor.dev";
forwardAgent = true;
};
kuro = {

View File

@@ -7,6 +7,7 @@
lib.optionalAttrs (device.is "ryu") {
gtk = {
enable = device.is "ryu";
colorScheme = lib.mkForce "dark";
theme = {
name = "catppuccin-mocha-mauve-standard+normal";
package = pkgs.catppuccinThemes.gtk;
@@ -38,5 +39,7 @@ lib.optionalAttrs (device.is "ryu") {
# pkgs.catppuccinThemes.gtk
pkgs.catppuccinThemes.papirus-folders
];
# stylix.targets.gtk.enable = false;
stylix.targets.gtk.enable = false;
stylix.targets.gnome.enable = false;
}

View File

@@ -25,7 +25,7 @@
nautilus
totem
ffmpegthumbnailer
polkit_gnome
# polkit_gnome
seahorse
signal-desktop
# sony-headphones-client

View File

@@ -8,11 +8,13 @@ lib.optionalAttrs (device.is "ryu") {
xdg.portal = {
enable = pkgs.stdenv.isLinux;
config = {
hyprland.default = ["hyprland" "kde"];
hyprland.default = ["kde" "hyprland"];
common.default = ["*" "hyprland"];
};
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
kdePackages.xdg-desktop-portal-kde
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
};
}

View File

@@ -22,7 +22,7 @@
programs = {
hyprland = {
enable = true;
# withUWSM = true;
withUWSM = true;
xwayland.enable = true;
};
};

View File

@@ -10,6 +10,8 @@
networking.useNetworkd = true;
systemd.services.NetworkManager-wait-online.enable = false;
systemd.network.wait-online.enable = false;
boot.loader.raspberryPi.bootloader = "kernel";
fileSystems."/home".neededForBoot = true;
system.nixos.tags = let
@@ -31,5 +33,6 @@
hardware.raspberry-pi.extra-config = ''
[all]
dtparam=pciex1_gen=2
os_prefix=nixos/default/
'';
}

View File

@@ -162,7 +162,7 @@
cargoLock = {lockFile = "${src}/Cargo.lock";};
};
# alvr-master = inputs.alvr.packages.${prev.system}.default;
caddyWithCloudflare = final.pkgs.caddy.withPlugins {
caddyWithCloudflare = inputs.nixpkgs.legacyPackages.${final.system}.caddy.withPlugins {
plugins = ["github.com/caddy-dns/cloudflare@v0.2.2"];
hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U=";
# hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc=";