Compare commits

..

2 commits

Author SHA1 Message Date
cy
81e06a0513
install plasma and use plasma-manager to configure 2025-02-01 22:36:56 -05:00
cy
258cce19fb
flake update
Signed-off-by: cy <cy@cy7.sh>
2025-02-01 12:10:21 -05:00
5 changed files with 100 additions and 28 deletions

80
flake.lock generated
View file

@ -562,11 +562,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738178313, "lastModified": 1738428726,
"narHash": "sha256-/8TLf6LkXGRGERzcWMNDeXjYaHSbexmfV+ofheo7K6k=", "narHash": "sha256-OUoEgorFHBVnqQ2lITqs6MGN7MH4t/8hLEO29OKu6CM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "420a0d9506b5dac4d86a68b9ef8e763624ad86c6", "rev": "dae6d3460c8bab3ac9f38a86affe45b32818e764",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -683,11 +683,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1738174211, "lastModified": 1738341980,
"narHash": "sha256-eYmp1mKM4kULV1W+EBtCPk6LmKWl2REivaYfGRl+AWo=", "narHash": "sha256-xOpkKwNkpbK6lL/V48xIsONnk8PBzbf7D98EqqGpGGs=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "64e33a7e09a0d1faacf2fd3f6ebd647fe4d8346a", "rev": "083c6de22cb306b0f1f7bd8e062ecdd72133e4e2",
"revCount": 17329, "revCount": 17337,
"type": "git", "type": "git",
"url": "https://git.lix.systems/lix-project/lix" "url": "https://git.lix.systems/lix-project/lix"
}, },
@ -737,11 +737,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1738156024, "lastModified": 1738410471,
"narHash": "sha256-D3cox2cbtFauXz1skDTkJwSU0272wY6wRwiFNm5TV/c=", "narHash": "sha256-j0XZIViI4ZEFwhrEzVKz696/4DZ9pRiWtGfxJogA+MM=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "541920ede8b5d48f110c94d858a1ddf283eac3b9", "rev": "16f8e14385163479aca7231d8fab0091adac2e56",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -770,11 +770,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1738148186, "lastModified": 1738404307,
"narHash": "sha256-Yd2xKbZ8S4LC5sxPleuutlX0RbKnI93LhciVhneNBHQ=", "narHash": "sha256-BFtfL5kZbIsDAMgbVP5E0HbqDapYWw4NBw1xS0AOCCc=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "1d3820a064f1f3b686eb6e8a1aab155681a96457", "rev": "32ad545f842f4c176548e30d183d10e0a2bab752",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -832,11 +832,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738033138, "lastModified": 1738277753,
"narHash": "sha256-qlIM8A3bdL9c6PexhpS+QyZLO9y/8a3V75HVyJgDE5Q=", "narHash": "sha256-iyFcCOk0mmDiv4ut9mBEuMxMZIym3++0qN1rQBg8FW0=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "349a74c66c596ef97ee97b4d80a3ca61227b6120", "rev": "49b807fa7c37568d7fbe2aeaafb9255c185412f9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1065,11 +1065,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1738178544, "lastModified": 1738396600,
"narHash": "sha256-UbM+zJFlze877N5j2YMLKYFX7t05VvmuNX2M0vJ7RfI=", "narHash": "sha256-fWpw3MUUidq+GzuQdgpZwk4Vh4MF6MN2HEyyT2PguGI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "975ac0ab33ee7fea64842047a96f5d679d90913c", "rev": "6eec6bbb933a6dad6cf6afe3d51329f31d22e974",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1102,11 +1102,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738184667, "lastModified": 1738428106,
"narHash": "sha256-+pG3UJVAdVCF3nGRpy5n/tbCzGa64DCWOC8hAxnssD0=", "narHash": "sha256-HpuE7jQnyOXJStEoP2AAsOTTqsdudn6xV1o+EbV8ssc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "2f5374c3dcd06c750c36798bce6bccdf8a25bc89", "rev": "8f8f50243ea803304b1bd04aa56bd736fe2c28eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1154,6 +1154,29 @@
"type": "github" "type": "github"
} }
}, },
"plasma-manager": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1736549395,
"narHash": "sha256-XzwkB62Tt5UYoL1jXiHzgk/qz2fUpGHExcSIbyGTtI0=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "a53af7f1514ef4cce8620a9d6a50f238cdedec8b",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "plasma-manager",
"type": "github"
}
},
"pre-commit-hooks": { "pre-commit-hooks": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1232,6 +1255,7 @@
"nixpkgs-garage": "nixpkgs-garage", "nixpkgs-garage": "nixpkgs-garage",
"nixvim": "nixvim", "nixvim": "nixvim",
"nvim-github-theme": "nvim-github-theme", "nvim-github-theme": "nvim-github-theme",
"plasma-manager": "plasma-manager",
"rust-overlay": "rust-overlay", "rust-overlay": "rust-overlay",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"treefmt": "treefmt" "treefmt": "treefmt"
@ -1261,11 +1285,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738117527, "lastModified": 1738376888,
"narHash": "sha256-GFviGfaezjGLFUlxdv3zyC7rSZvTXqwcG/YsF6MDkOw=", "narHash": "sha256-S6ErHxkSm0iA7ZMsjjDaASWxbELYcdfv8BhOkkj1rHw=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "6a3dc6ce4132bd57359214d986db376f2333c14d", "rev": "83284068670d5ae4a43641c4afb150f3446be70d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1281,11 +1305,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737411508, "lastModified": 1738291974,
"narHash": "sha256-j9IdflJwRtqo9WpM0OfAZml47eBblUHGNQTe62OUqTw=", "narHash": "sha256-wkwYJc8cKmmQWUloyS9KwttBnja2ONRuJQDEsmef320=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "015d461c16678fc02a2f405eb453abb509d4e1d4", "rev": "4c1251904d8a08c86ac6bc0d72cc09975e89aef7",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -72,6 +72,11 @@
url = "github:nix-community/nix-ld"; url = "github:nix-community/nix-ld";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
@ -218,6 +223,7 @@
./home/yt/ytnix.nix ./home/yt/ytnix.nix
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
inputs.niri.homeModules.config inputs.niri.homeModules.config
inputs.plasma-manager.homeManagerModules.plasma-manager
]; ];
}; };

25
home/plasma.nix Normal file
View file

@ -0,0 +1,25 @@
{ ... }:
{
programs.plasma = {
enable = true;
workspace = {
lookAndFeel = "org.ide.breezedark.desktop";
cursor = {
theme = "Bibata-Modern-Classic";
size = 32;
};
};
fonts = {
general = {
family = "IBM Plex Mono";
pointSize = 12;
};
};
input.keyboard = {
numlockOnStartup = "on";
options = [ "ctrl:nocaps" ];
};
};
}

View file

@ -11,6 +11,7 @@
../irssi.nix ../irssi.nix
../kitty.nix ../kitty.nix
../vscode.nix ../vscode.nix
../plasma.nix
]; ];
home = { home = {
username = "yt"; username = "yt";
@ -114,6 +115,7 @@
lldb lldb
(cutter.withPlugins (plugins: with plugins; [ rz-ghidra jsdec sigdb ])) (cutter.withPlugins (plugins: with plugins; [ rz-ghidra jsdec sigdb ]))
ida-free ida-free
patchelf
]; ];
programs.waybar.enable = true; programs.waybar.enable = true;

View file

@ -174,6 +174,8 @@
haskell-language-server haskell-language-server
ghc ghc
sbctl # secure boot sbctl # secure boot
wine-wayland
wine64
]; ];
environment.sessionVariables = { environment.sessionVariables = {
@ -187,6 +189,12 @@
services.displayManager = { services.displayManager = {
enable = true; enable = true;
autoLogin.user = "yt"; autoLogin.user = "yt";
defaultSession = "plasma";
sddm = {
enable = true;
wayland.enable = true;
autoNumlock = true;
};
}; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
@ -294,6 +302,8 @@
waylandpp waylandpp
cairo cairo
xcb-util-cursor xcb-util-cursor
libplist
p11-kit
xorg.libX11 xorg.libX11
xorg.libxcb xorg.libxcb
xorg.xcbutilwm xorg.xcbutilwm
@ -377,4 +387,9 @@
startAgent = true; startAgent = true;
enableAskPassword = true; enableAskPassword = true;
}; };
services.desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
} }