This commit is contained in:
Sense T 2023-07-04 16:53:01 +08:00
parent e9c51a6869
commit 23172262c8
17 changed files with 759 additions and 759 deletions

View File

@ -1,5 +1,5 @@
# NixOS configurations file.
{config, pkgs, lib,...}: {
{ config, pkgs, lib, ... }: {
system.stateVersion = "23.05";
imports = [
# Include the results of the hardware scan.

View File

@ -74,11 +74,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1687829761,
"narHash": "sha256-QRe1Y8SS3M4GeC58F/6ajz6V0ZLUVWX3ZAMgov2N3/g=",
"lastModified": 1688389917,
"narHash": "sha256-RKiK1QeommEsjQ8fLgxt4831x9O6n2gD7wAhVZTrr8M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9790f3242da2152d5aa1976e3e4b8b414f4dd206",
"rev": "aed4b19d312525ae7ca9bceb4e1efe3357d0e2eb",
"type": "github"
},
"original": {

View File

@ -36,7 +36,7 @@
};
};
outputs = {self, nixpkgs, home-manager, nixos-cn, impermanence, ...}: {
outputs = { self, nixpkgs, home-manager, nixos-cn, impermanence, ... }: {
nixosConfigurations.gpd = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
@ -66,7 +66,8 @@
nixos-cn.nixosModules.nixos-cn-registries
nixos-cn.nixosModules.nixos-cn
home-manager.nixosModules.home-manager {
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users = import ./home;

View File

@ -1,5 +1,5 @@
{pkgs, ...}: {
fonts= {
{ pkgs, ... }: {
fonts = {
fontDir.enable = true;
fonts = with pkgs;[

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
xdg.portal = {
enable = true;
#wlr.enable = true;

View File

@ -1,5 +1,5 @@
{pkgs, ...}: {
users= {
{ pkgs, ... }: {
users = {
mutableUsers = false;
users = {
user = {

View File

@ -4,7 +4,7 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =[
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];

View File

@ -23,9 +23,9 @@
scroll-step = 5;
format = "{icon} {volume}%";
format-muted = "{icon} --";
on-click ="wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # wpctl?
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # wpctl?
format-icons = {
default = ["" "" ""];
default = [ "" "" "" ];
};
};
@ -74,7 +74,7 @@
format-charging = " {capacity}%";
format-plugged = " {capacity}%";
format-alt = "{time} {icon}";
format-icons = ["" "" "" "" ""];
format-icons = [ "" "" "" "" "" ];
};
tray = {

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
imports = [
./home.nix
./programs.nix

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
home = {
stateVersion = "23.05"; # Static
username = "user";

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs = {
home-manager.enable = true;
@ -74,9 +74,5 @@
wlogout = {
enable = false;
};
clipman = {
enable = true;
};
};
}

View File

@ -1,5 +1,7 @@
{
services = {
clipman.enable = true;
dunst = {
enable = true;
settings = {

View File

@ -2,7 +2,8 @@ let
defaultBrowser = "io.gitlab.librewolf-community.desktop";
defaultFileManager = "ranger.desktop";
defaultTerminal = "kitty.desktop";
in {
in
{
xdg = {
enable = true;
mimeApps = {