Compare commits

..

No commits in common. "01eeb12ec6c100ad323089c35919e3f84340e3eb" and "0710d7d059677a9963be693d950f7c9311f0f44d" have entirely different histories.

9 changed files with 30 additions and 50 deletions

View file

@ -98,7 +98,7 @@
deimos = inputs.self.lib.mkLinuxSystem [ deimos = inputs.self.lib.mkLinuxSystem [
./systems/deimos ./systems/deimos
./profiles/user0 ./profiles/user0
./profiles/user1 # ./profiles/user1
config.nixosModules.deimos config.nixosModules.deimos
config.nixosModules.core config.nixosModules.core
config.nixosModules.mantle config.nixosModules.mantle

View file

@ -3,11 +3,9 @@
inputs, inputs,
self, self,
... ...
}: }: {
{
flake.lib = { flake.lib = {
mkHome = mkHome = modules: system:
modules: system:
inputs.home-manager.lib.homeManagerConfiguration { inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {
inherit inherit
@ -24,8 +22,7 @@
modules modules
; ;
}; };
mkLinuxSystem = mkLinuxSystem = modules:
modules:
inputs.nixpkgs.lib.nixosSystem { inputs.nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
flake = { flake = {

View file

@ -145,8 +145,8 @@ in
systemMonitor systemMonitor
usbImager usbImager
virtManager virtManager
# hypr hypr
# wayland wayland
theming theming
polychromatic polychromatic
dolphin dolphin
@ -170,8 +170,9 @@ in
scrcpy scrcpy
bitwarden bitwarden
emote emote
# hypr desktop
# wayland hypr
wayland
theming theming
; ;
}; };

View file

@ -1,17 +1,16 @@
{ {
flake, flake,
osConfig,
pkgs, pkgs,
... ...
}: }:
let let
inherit (flake.config.aesthetics.themes) fonts; inherit (flake.config.aesthetics.themes)
inherit (flake.config.machines.devices) deimos; fonts
hostname = osConfig.networking.hostName; ;
in in
{ {
confirm-close-surface = false; confirm-close-surface = false;
window-decoration = if hostname == deimos.name then true else false; window-decoration = false;
font-size = fonts.sizes.terminal.size0; font-size = fonts.sizes.terminal.size0;
font-family = fonts.names.name0; font-family = fonts.names.name0;
window-padding-x = 10; window-padding-x = 10;

View file

@ -2,19 +2,11 @@
config, config,
flake, flake,
pkgs, pkgs,
osConfig,
... ...
}: }:
let let
configPath = ./config; configPath = ./config;
settingsPath = import (configPath + /settings.nix) { settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; };
inherit
flake
config
osConfig
pkgs
;
};
themesPath = import (configPath + /themes.nix) { inherit config flake; }; themesPath = import (configPath + /themes.nix) { inherit config flake; };
in in
{ {

View file

@ -27,16 +27,13 @@ let
ceres ceres
] ]
then then
[ user0
user0
user1
]
else if hostname == charon then else if hostname == charon then
[ user1 ] user1
else if hostname == venus then else if hostname == venus then
[ user2 ] user2
else else
[ ]; "";
in in
{ {
security = { security = {
@ -46,7 +43,9 @@ in
{ {
keepEnv = true; keepEnv = true;
noPass = true; noPass = true;
users = userLogic; users = [
userLogic
];
} }
]; ];
}; };

View file

@ -32,10 +32,10 @@ in
deimos = { deimos = {
imports = builtins.attrValues { imports = builtins.attrValues {
inherit (modules) inherit (modules)
# hypr hypr
# wayland wayland
plasma # plasma
sddm # sddm
flatpak flatpak
xserver xserver
; ;

View file

@ -10,14 +10,11 @@
libinput = { libinput = {
enable = true; enable = true;
touchpad = { touchpad = {
scrollMethod = "twofinger"; tapping = true;
naturalScrolling = true; naturalScrolling = false;
middleEmulation = true;
accelSpeed = "5";
accelProfile = "adaptive";
disableWhileTyping = true;
}; };
mouse.accelProfile = "flat"; mouse.accelProfile = "flat";
touchpad.accelProfile = "flat";
}; };
}; };
console.useXkbConfig = true; console.useXkbConfig = true;

View file

@ -1,13 +1,8 @@
{ {
pkgs, pkgs,
config,
flake,
... ...
}: }:
let
inherit (flake.config.machines) devices;
hostname = config.networking.hostName;
in
{ {
hardware = { hardware = {
bluetooth = { bluetooth = {
@ -25,5 +20,5 @@ in
]; ];
}; };
}; };
services.blueman.enable = if hostname == devices.deimos.name then false else true; services.blueman.enable = true;
} }