Compare commits

..

No commits in common. "29c2b1ce80a2d0b50480e0df0dc7f1f4258ca9bd" and "d833f04aa3891f64654e4ac38f63166027d7a567" have entirely different histories.

7 changed files with 14 additions and 73 deletions

21
flake.lock generated
View file

@ -149,30 +149,9 @@
"home-manager": "home-manager",
"niri": "niri",
"nixpkgs": "nixpkgs",
"silentSDDM": "silentSDDM",
"sops-nix": "sops-nix"
}
},
"silentSDDM": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1769900466,
"narHash": "sha256-WeoJBj/PhqFCCJEIycTipqPbKm5BpQT2uzFTYcYZ30I=",
"owner": "uiriansan",
"repo": "SilentSDDM",
"rev": "a44caf771b4cb72f5c2514f7d488455b0fa860d2",
"type": "github"
},
"original": {
"owner": "uiriansan",
"repo": "SilentSDDM",
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [

View file

@ -85,12 +85,5 @@
repo = "sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
silentSDDM = {
type = "github";
owner = "uiriansan";
repo = "SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}

View file

@ -15,7 +15,7 @@
sshd.enable = true;
tailscale.enable = true;
sddm.enable = true;
tuigreet.enable = true;
niri.enable = true;
steam.enable = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, inputs, ... }:
{ config, pkgs, lib, ... }:
{
options.system = {
@ -29,26 +29,15 @@
# Packages & Default Packages
nixpkgs.config.allowUnfree = true;
nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
gc = { automatic = true; options = "--delete-older-than 5d"; };
channel.enable = false;
settings = {
auto-optimise-store = true;
keep-going = true;
use-xdg-base-directories = true;
experimental-features = [
"flakes"
"nix-command"
];
};
};
environment.systemPackages = with pkgs; [
git
neovim
xdg-user-dirs
] ++ config.system.extraPkgs;
# XDG Compliance
nix.settings.use-xdg-base-directories = true;
users = {
users = builtins.listToAttrs (map (
user: {

View file

@ -1,27 +0,0 @@
{ config, pkgs, lib, inputs', ... }:
{
options.sddm = {
enable = lib.mkEnableOption "enables sddm";
};
config = lib.mkIf config.sddm.enable (let
sddm-theme = inputs'.silentSDDM.packages.default.override {
theme = "catppuccin-macchiato";
};
in {
qt.enable = true;
environment.systemPackages = [ sddm-theme sddm-theme.test ];
services.displayManager.sddm = {
wayland.enable = true;
package = pkgs.kdePackages.sddm;
enable = true;
theme = sddm-theme.pname;
extraPackages = sddm-theme.propagatedBuildInputs;
settings.General = {
GreeterEnvironment = "QML2_IMPORT_PATH=${sddm-theme}/share/sddm/themes/${sddm-theme.pname}/components/,QT_IM_MODULE=qtvirtualkeyboard";
InputMethod = "qtvirtualkeyboard";
};
};
});
}

View file

@ -28,8 +28,9 @@
mouse.accel = -0.53;
outputs = {
"DP-1" = {
position = { x = 2560; y = 0; };
position = { x = 2560; y = -100; };
mode = { width = 2560; height = 1440; refresh = 144.000; };
transform.rotation = 270;
};
"DP-2" = {
position = { x = 0; y = 0; };
@ -107,4 +108,10 @@
discord.enable = true;
lutris.enable = true;
extraPkgs = with pkgs; [
# Applications
logseq
claude-code
];
}