Compare commits
4 Commits
7dcb0df9b8
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24fab1402b | ||
|
|
5e7bb9c986 | ||
|
|
0dda14266d | ||
|
|
0b1924359e |
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
# environment.systemPackages = with pkgs; [nix neovim];
|
# environment.systemPackages = with pkgs; [nix neovim];
|
||||||
nix = {
|
nix = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = "nix-command flakes auto-allocate-uids";
|
experimental-features = "nix-command flakes auto-allocate-uids";
|
||||||
max-jobs = 8;
|
max-jobs = 8;
|
||||||
@@ -43,10 +43,9 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
users.users.remotebuilder = {
|
users.users.remotebuilder = {
|
||||||
# isSystemUser = true;
|
|
||||||
description = "User for Nix remote builds";
|
description = "User for Nix remote builds";
|
||||||
# uid = 700;
|
uid = 700;
|
||||||
home = "/var/remotebuilder";
|
# home = "/var/remotebuilder";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
shell = "/bin/bash";
|
shell = "/bin/bash";
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
@@ -77,7 +76,7 @@
|
|||||||
|
|
||||||
# services.nix-daemon.enable = true;
|
# services.nix-daemon.enable = true;
|
||||||
system.primaryUser = "servius";
|
system.primaryUser = "servius";
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 5;
|
||||||
|
|
||||||
system.keyboard.enableKeyMapping = true;
|
system.keyboard.enableKeyMapping = true;
|
||||||
system.keyboard.remapCapsLockToControl = true;
|
system.keyboard.remapCapsLockToControl = true;
|
||||||
|
|||||||
@@ -9,17 +9,17 @@
|
|||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
tsuba = {
|
tsuba = {
|
||||||
user = "servius";
|
user = "servius";
|
||||||
hostname = "tsuba";
|
hostname = "tsuba.darksailor.dev";
|
||||||
};
|
};
|
||||||
github = {
|
github = {
|
||||||
user = "git";
|
user = "git";
|
||||||
host = "github.com";
|
host = "github.com";
|
||||||
};
|
};
|
||||||
mirai = {
|
# mirai = {
|
||||||
user = "fs0c131y";
|
# user = "fs0c131y";
|
||||||
hostname = "mirai.darksailor.dev";
|
# hostname = "mirai.darksailor.dev";
|
||||||
forwardAgent = true;
|
# forwardAgent = true;
|
||||||
};
|
# };
|
||||||
tako = {
|
tako = {
|
||||||
user = "servius";
|
user = "servius";
|
||||||
hostname = "tako.darksailor.dev";
|
hostname = "tako.darksailor.dev";
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
};
|
};
|
||||||
ryu = {
|
ryu = {
|
||||||
user = "servius";
|
user = "servius";
|
||||||
hostname = "ryu";
|
hostname = "ryu.darksailor.dev";
|
||||||
forwardAgent = true;
|
forwardAgent = true;
|
||||||
};
|
};
|
||||||
kuro = {
|
kuro = {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
lib.optionalAttrs (device.is "ryu") {
|
lib.optionalAttrs (device.is "ryu") {
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = device.is "ryu";
|
enable = device.is "ryu";
|
||||||
|
colorScheme = lib.mkForce "dark";
|
||||||
theme = {
|
theme = {
|
||||||
name = "catppuccin-mocha-mauve-standard+normal";
|
name = "catppuccin-mocha-mauve-standard+normal";
|
||||||
package = pkgs.catppuccinThemes.gtk;
|
package = pkgs.catppuccinThemes.gtk;
|
||||||
@@ -38,5 +39,7 @@ lib.optionalAttrs (device.is "ryu") {
|
|||||||
# pkgs.catppuccinThemes.gtk
|
# pkgs.catppuccinThemes.gtk
|
||||||
pkgs.catppuccinThemes.papirus-folders
|
pkgs.catppuccinThemes.papirus-folders
|
||||||
];
|
];
|
||||||
|
# stylix.targets.gtk.enable = false;
|
||||||
stylix.targets.gtk.enable = false;
|
stylix.targets.gtk.enable = false;
|
||||||
|
stylix.targets.gnome.enable = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
nautilus
|
nautilus
|
||||||
totem
|
totem
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
polkit_gnome
|
# polkit_gnome
|
||||||
seahorse
|
seahorse
|
||||||
signal-desktop
|
signal-desktop
|
||||||
# sony-headphones-client
|
# sony-headphones-client
|
||||||
|
|||||||
@@ -8,11 +8,13 @@ lib.optionalAttrs (device.is "ryu") {
|
|||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = pkgs.stdenv.isLinux;
|
enable = pkgs.stdenv.isLinux;
|
||||||
config = {
|
config = {
|
||||||
hyprland.default = ["hyprland" "kde"];
|
hyprland.default = ["kde" "hyprland"];
|
||||||
|
common.default = ["*" "hyprland"];
|
||||||
};
|
};
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
kdePackages.xdg-desktop-portal-kde
|
kdePackages.xdg-desktop-portal-kde
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
programs = {
|
programs = {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# withUWSM = true;
|
withUWSM = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
systemd.services.NetworkManager-wait-online.enable = false;
|
systemd.services.NetworkManager-wait-online.enable = false;
|
||||||
systemd.network.wait-online.enable = false;
|
systemd.network.wait-online.enable = false;
|
||||||
|
boot.loader.raspberryPi.bootloader = "kernel";
|
||||||
|
|
||||||
fileSystems."/home".neededForBoot = true;
|
fileSystems."/home".neededForBoot = true;
|
||||||
|
|
||||||
system.nixos.tags = let
|
system.nixos.tags = let
|
||||||
@@ -31,5 +33,6 @@
|
|||||||
hardware.raspberry-pi.extra-config = ''
|
hardware.raspberry-pi.extra-config = ''
|
||||||
[all]
|
[all]
|
||||||
dtparam=pciex1_gen=2
|
dtparam=pciex1_gen=2
|
||||||
|
os_prefix=nixos/default/
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
cargoLock = {lockFile = "${src}/Cargo.lock";};
|
cargoLock = {lockFile = "${src}/Cargo.lock";};
|
||||||
};
|
};
|
||||||
# alvr-master = inputs.alvr.packages.${prev.system}.default;
|
# 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"];
|
plugins = ["github.com/caddy-dns/cloudflare@v0.2.2"];
|
||||||
hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U=";
|
hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U=";
|
||||||
# hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc=";
|
# hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc=";
|
||||||
|
|||||||
Reference in New Issue
Block a user