mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 16:17:46 +00:00
Cleanup
This commit is contained in:
parent
86a3de9311
commit
652b8599f8
11 changed files with 38 additions and 68 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, inputs, system, ... }:
|
||||
let
|
||||
cfg = config.mods;
|
||||
res = "2560x1440";
|
||||
|
||||
in {
|
||||
# Hardware
|
||||
imports = [
|
||||
|
|
@ -10,19 +10,7 @@ in {
|
|||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
networking.hostName = cfg.user.name;
|
||||
|
||||
# Home
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit system pkgs inputs; };
|
||||
users."${cfg.user.name}" = {
|
||||
imports = [
|
||||
./home.nix
|
||||
inputs.self.outputs.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
backupFileExtension = "bak";
|
||||
};
|
||||
mods.home.file = ./home.nix;
|
||||
|
||||
# Modules
|
||||
mods.desktop.enable = true;
|
||||
|
|
@ -42,7 +30,7 @@ in {
|
|||
mods.unfree.nvidia.enable = true;
|
||||
mods.unfree.minecraft.enable = true;
|
||||
|
||||
# Host specific
|
||||
# Hardware preferences
|
||||
|
||||
## Mouse
|
||||
services.xserver.libinput.mouse.accelProfile = "flat";
|
||||
|
|
@ -53,7 +41,7 @@ in {
|
|||
name = "DP-2";
|
||||
config = {
|
||||
enable = true;
|
||||
mode = res;
|
||||
mode = "2560x1440";
|
||||
position = "0x480";
|
||||
primary = true;
|
||||
rate = "144.00";
|
||||
|
|
@ -71,13 +59,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
arandr
|
||||
];
|
||||
|
||||
# Backup environment
|
||||
services.xserver.windowManager.qtile.enable = true;
|
||||
|
||||
# Version of first install
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue