add niri file
This commit is contained in:
parent
15e2687aae
commit
33f94bf900
5 changed files with 21 additions and 82 deletions
71
flake.lock
generated
71
flake.lock
generated
|
|
@ -18,24 +18,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1787559586,
|
|
||||||
"narHash": "sha256-onL0VLf9vPllmT0H/OlURIU5r5t5WIEl7t4tVNKT0Nw=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "9d0d87172c374f89da73c1cfe6d81ae62feac1f1",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fromYaml": {
|
"fromYaml": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -86,21 +68,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-lib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1785031560,
|
|
||||||
"narHash": "sha256-OmshNvn2vupOFpYinLUu+1Dnpu4n7Q5N3ggGVNHpkUI=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"rev": "0e79af5e3d4dcfcd676ab5ba3f95d2e3352e078c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1788039129,
|
"lastModified": 1788039129,
|
||||||
|
|
@ -117,30 +84,12 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1786719841,
|
|
||||||
"narHash": "sha256-QcpQOT0NQEFkI77t+YXPZqDJc35iIodG7zinieOwFUg=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "8be7bd0c83f12e2e3bbba07c9044d6fed9e66f7f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"base16": "base16",
|
"base16": "base16",
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"tt-schemes": "tt-schemes",
|
"tt-schemes": "tt-schemes"
|
||||||
"wrappers": "wrappers"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tt-schemes": {
|
"tt-schemes": {
|
||||||
|
|
@ -158,24 +107,6 @@
|
||||||
"repo": "schemes",
|
"repo": "schemes",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"wrappers": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1787722691,
|
|
||||||
"narHash": "sha256-bWBt7v2FhgG6WTLgSi8nYGi1zXaTdA+vTdCRdvR2vcw=",
|
|
||||||
"owner": "BirdeeHub",
|
|
||||||
"repo": "nix-wrapper-modules",
|
|
||||||
"rev": "04ef216559b18214853879df862f493a9e6bb8cf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "BirdeeHub",
|
|
||||||
"repo": "nix-wrapper-modules",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,10 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
imports = [
|
home-manager.users.lucy.imports = [
|
||||||
./modules/programs/emacs.nix
|
./modules/programs/emacs.nix
|
||||||
|
./modules/programs/niri.nix
|
||||||
|
./modules/home.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,12 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.lucy = {
|
home-manager.users.lucy = {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nixd
|
||||||
|
nixfmt
|
||||||
|
clang
|
||||||
|
kdePackages.qtdeclarative
|
||||||
|
];
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,11 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
home-manager.users.lucy.programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
emacsPackages =
|
extraPackages =
|
||||||
epkgs: with epkgs.melpaPackages; [
|
epkgs: with epkgs.melpaPackages; [
|
||||||
corfu
|
corfu
|
||||||
cape
|
cape
|
||||||
|
|
@ -18,13 +16,7 @@
|
||||||
base16-theme
|
base16-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
runtimePkgs = with pkgs; [
|
extraConfig = ''
|
||||||
nixd
|
|
||||||
nixfmt
|
|
||||||
qt6.qtdeclarative
|
|
||||||
];
|
|
||||||
constructFiles.early-init.content = lib.mkBefore ";;; -*- lexical-binding: t; -*-";
|
|
||||||
configFile = ''
|
|
||||||
;;; -*- lexical-binding: t; -*-
|
;;; -*- lexical-binding: t; -*-
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files nil)
|
||||||
(load-theme 'base16-${config.scheme.scheme-slug} t)
|
(load-theme 'base16-${config.scheme.scheme-slug} t)
|
||||||
|
|
|
||||||
8
modules/programs/niri.nix
Normal file
8
modules/programs/niri.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, config, ...}:
|
||||||
|
let
|
||||||
|
c = config.scheme.withHashtag;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home-manager.users.lucy.wayland.windowManager.niri = {};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue