nixos/cosmic: provide configuration defaults
This commit is contained in:
parent
fbf078d336
commit
8b6f8474a4
32 changed files with 128 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
"kitty",
|
||||
"vivaldi-stable",
|
||||
"pcmanfm",
|
||||
"code",
|
||||
"steam",
|
||||
"vesktop",
|
||||
"org.telegram.desktop",
|
||||
"jitsi-meet-electron",
|
||||
"pavucontrol",
|
||||
]
|
|
@ -0,0 +1 @@
|
|||
None
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1,9 @@
|
|||
(
|
||||
output: "all",
|
||||
source: Path("@wallpaper@"),
|
||||
filter_by_theme: true,
|
||||
rotation_frequency: 300,
|
||||
filter_method: Lanczos,
|
||||
scaling_mode: Zoom,
|
||||
sampling_method: Alphanumeric,
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1 @@
|
|||
PerWorkspace
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1 @@
|
|||
250
|
|
@ -0,0 +1,4 @@
|
|||
(
|
||||
workspace_mode: OutputBound,
|
||||
workspace_layout: Horizontal,
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
Bottom
|
|
@ -0,0 +1 @@
|
|||
false
|
|
@ -0,0 +1,5 @@
|
|||
Some((
|
||||
wait_time: 1000,
|
||||
transition_time: 200,
|
||||
handle_size: 4,
|
||||
))
|
|
@ -0,0 +1 @@
|
|||
@corner_radii_panel@
|
|
@ -0,0 +1 @@
|
|||
false
|
|
@ -0,0 +1 @@
|
|||
Top
|
|
@ -0,0 +1,5 @@
|
|||
Some([
|
||||
"com.system76.CosmicAppList",
|
||||
"com.system76.CosmicAppletMinimize",
|
||||
"com.system76.CosmicPanelAppButton",
|
||||
])
|
|
@ -0,0 +1 @@
|
|||
None
|
|
@ -0,0 +1 @@
|
|||
Top
|
|
@ -0,0 +1 @@
|
|||
false
|
|
@ -0,0 +1 @@
|
|||
Top
|
|
@ -0,0 +1,3 @@
|
|||
Some([
|
||||
"com.system76.CosmicAppletTime",
|
||||
])
|
|
@ -0,0 +1,14 @@
|
|||
Some(([
|
||||
"com.system76.CosmicPanelAppButton",
|
||||
"com.system76.CosmicAppletWorkspaces",
|
||||
], [
|
||||
"com.system76.CosmicAppletInputSources",
|
||||
"com.system76.CosmicAppletStatusArea",
|
||||
"com.system76.CosmicAppletTiling",
|
||||
"com.system76.CosmicAppletAudio",
|
||||
"com.system76.CosmicAppletNetwork",
|
||||
"com.system76.CosmicAppletBattery",
|
||||
"com.system76.CosmicAppletNotifications",
|
||||
"com.system76.CosmicAppletBluetooth",
|
||||
"com.system76.CosmicAppletPower",
|
||||
]))
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
(
|
||||
modifiers: [
|
||||
Ctrl,
|
||||
Alt,
|
||||
],
|
||||
key: "t",
|
||||
description: Some("Open terminal"),
|
||||
): Spawn("kitty"),
|
||||
(
|
||||
modifiers: [
|
||||
Super,
|
||||
Ctrl,
|
||||
],
|
||||
key: "l",
|
||||
): System(LockScreen),
|
||||
(
|
||||
modifiers: [
|
||||
Super,
|
||||
],
|
||||
): System(Launcher),
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
(
|
||||
radius_0: (0.0, 0.0, 0.0, 0.0),
|
||||
radius_xs: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_s: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_m: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_l: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_xl: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
(
|
||||
radius_0: (0.0, 0.0, 0.0, 0.0),
|
||||
radius_xs: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_s: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_m: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_l: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
radius_xl: (@corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@, @corner_radii_theme@),
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
true
|
|
@ -0,0 +1 @@
|
|||
false
|
|
@ -0,0 +1 @@
|
|||
false
|
|
@ -1,5 +1,22 @@
|
|||
{ inputs, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cosmic-configuration = pkgs.substituteAllFiles {
|
||||
name = "cosmic-configuration";
|
||||
src = ./cosmic-config;
|
||||
files = [ "." ]; # All files
|
||||
postInstall = ''
|
||||
mkdir -p $share/share/cosmic
|
||||
cp -rt $share/share/cosmic $out/*
|
||||
'';
|
||||
outputs = [ "out" "share" ];
|
||||
|
||||
wallpaper = ../../media/wallpaper.png;
|
||||
corner_radii_theme = "2.0";
|
||||
corner_radii_panel = "2";
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${inputs.cosmic-modules}/nixos/cosmic/module.nix"
|
||||
|
@ -13,6 +30,7 @@
|
|||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
(lib.hiPrio cosmic-configuration.share)
|
||||
];
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue